CPackage C++ Member Functions
Construction
CPackage Constructs object and validates license.
Access
AttachHandle Attach handle generated outside object to the object.
DetachHandle Remove handle from the object.
GetHandle Returns object's handle.
IsInitialized Determines whether library has been initialized.
Operations
Apply Applies the specified package on the target system.
Close Closes the specified package handle and releases the memory allocated for the patch package.
Create Creates a new patch package or overwrites an existing package file.
DeleteFile Removes the specified file from the package.
ExtractFile Extracts the specified file from the package, storing it on the local system.
FindFirstFile Returns the first file in the package that matches the specified search criteria.
FindNextFile Returns the first file in the package that matches the specified search criteria.
Flush Writes the contents of the specified package to the disk.
GetFirstFile Returns information about the first file in the package.
GetNextFile Returns information about the next file in the package.
GetExpiration Returns the number of days that the package can be applied.
GetFileDirectory Returns the installation directory for the specified file.
GetFileInformation Returns information about the specified file in the package.
GetOptions Returns the options that have been selected for the specified package file.
GetProperty Returns a property value for the specified package.
GetVersion Returns version information for the specified package file.
LoadResource Loads resource metadata from the specified package.
Open Opens the specified package file and returns a handle that can be used to access the package.
RenameFile Renames the specified file in the package.
SetExpiration Specifies the number of days that the package can be applied.
SetFileDirectory Sets the installation directory for the specified file.
SetOptions Sets one or more options for the specified package file.
SetProperty Sets a property value for the specified package.
SetVersion Sets version information for the specified package file.
StoreFile Stores the specified file in the package.
StoreResource Stores resource metadata in the specified package.
UndoApply Reverses the application of a patch package, restoring files that have been removed or updated.
Update Updates an existing package with the specified files, either adding new files or replacing existing files in the package.
Overridables
OnStatus Performs user-defined actions following firing of a status event.