TPackageInfoProc is a pointer to a callback procedure used as a parameter type to the GetPackageInfo procedure.
Unit
SysUtils
type
TNameType = (ntContainsUnit, ntRequiresPackage, ntDcpBpiName);
TPackageInfoProc = procedure (const Name: string; NameType: TNameType; Flags: Byte; Param: Pointer);
Description
TPackageInfoProc is the type of the callback passed to GetPackageInfo, which calls it once for each information element returned.
Name is the name of a package or package file. The precise meaning of the Name parameter depends on the value of the NameType parameter.
NameType is one of the following values:
Value Meaning
ntContainsUnit The Name parameter is the name of a unit contained in the package.
ntRequiresPackage The Name parameter is the name of another package required by the package.
ntDcpBpiName The Name parameter is the name of the package's library file.
Flags contains the flags in the information table for the package.
Param is a user-defined value passed to GetPackageInfo.