|Top Previous Next|
IN PACKAGE_HANDLE hPkg,
IN LPWSTR Name,
OUT LPWSTR Value,
IN DWORD ValueLen )
Retrieves a property assigned to a virtual application package.
Virtual application package handle, returned by PackageOpen.
Property name (null-terminated wide string). This can either be a special property used by the virtualization engine, or an arbitrary metadata that you assign for your own use. For a list of Cameyo's special properties, see Cameyo properties.
Receives the value of the property (null-terminated wide string).
Indicates the length, in characters, of the Value buffer.
Returns APIRET_SUCCESS if successful, or APIRET_NOT_FOUND if the property does not exist.
// Reading property "AppID" from virtual package
PackageGetProperty(hPkg, L"AppID", wc, _countof(wc));