PackageSave

Top  Previous  Next

int _stdcall

PackageSave(

   IN  PACKAGE_HANDLE               hPkg,

   IN  LPWSTR                       OutFileName )

Saves the changes made to a virtual application package.

Parameters

hPkg [in]

Virtual application package handle, returned by PackageOpen.

OutFileName [in]

Output package file name. For example: "C:\MyPackage.exe". If this parameter is NULL, changes are applied to the currently opened package.

Return value

If successful, the return value is APIRET_SUCCESS.

Code sample

See PackageOpen.