|Top Previous Next|
IN LPWSTR AppId,
IN LPWSTR AppVirtDll,
IN LPWSTR LoaderExe,
OUT PACKAGE_HANDLE* phPkg )
Creates a brand new virtual application package from scratch. Returns a handle that can then be used in the same way as PackageOpen.
Application unique identifier.
Full path to AppVirtDll.dll file (available in the SDK's Bin\ sub-directory). AppVirtDll64.dll must also be present in the same directory.
Full path to Loader.exe file (available in the SDK's Bin\ sub-directory).
Reserved for future implementations. Must always be zero.
Pointer to a handle. If the function is successful, this parameter receives a handle to the open package handle. This handle must be closed with PackageClose when finished using the package. Note that the file will only be saved when PackageSave is called.
If successful, the return value is APIRET_SUCCESS.