PackageSetIconFile

Top  Previous  Next

int _stdcall

PackageSetIconFile(

   IN  PACKAGE_HANDLE               hPkg,

   IN  LPWSTR                       FileName )

Modifies the icon of the virtual application package.

Parameters

hPkg [in]

Virtual application package handle, returned by PackageOpen.

Name [in]

Name of the source file from which to copy the icon (null-terminated wide string).

Return value

Returns APIRET_SUCCESS if successful, or APIRET_NOT_FOUND if the file was not found.

Remarks

The source file must be accessible when PackageSave is called.