PackagetSetProperty

Top  Previous  Next

int _stdcall

PackageSetProperty(

   IN  PACKAGE_HANDLE               hPkg,

   IN  LPWSTR                       Name,

   IN  LPWSTR                       Value )

Sets or modifies a property assigned to a virtual application package.

Parameters

hPkg [in]

Virtual application package handle, returned by PackageOpen.

Name [in]

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.

Value [in]

Value assigned to the property (null-terminated wide string).

Return value

Returns APIRET_SUCCESS if successful, or APIRET_FILE_CREATE_ERROR if there was a write error in the temporary folder.

Code sample

See PackageOpen.