GetWatermarkImageCount2

Top  Previous  Next

The GetWatermarkImageCount2 method retrieves the number of bookmark headings.

HRESULT GetWatermarkImageCount2(

[out] SHORT* p_pnCount,

[instring] BSTR p_wsProfileName,

[in] BOOL p_bPublicProfile

);

 

Parameters:

p_pnCount

[out] - count of image watermarks

p_wsProfileName

[in] - pointer to a BSTR 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