GetWatermarkImageCount

Top  Previous  Next

The GetWatermarkImageCount method retrieves the number of image watermarks.

HRESULT GetWatermarkImageCount(

[out] SHORT* p_pnCount,

[instring] LPCWSTR p_wsProfileName,

[in] BOOL p_bPublicProfile

);

 

Parameters:

p_pnCount

[out] count of image watermarks

p_wsProfileName

[in] pointer to a null terminated Unicode string containing the profile to modify. 

If this parameter is an empty string, the current active profile is used.

p_bPublicProfile

[in] - flag, profile is a public profile

 

Return values:

S_OK on success or COM error code

NV_NOT_INITIALIZED - Initialize was not called