The GetWatermarkImageCount method retrieves the number of image watermarks.
HRESULT GetWatermarkImageCount(
[out] SHORT* p_pnCount
);
Parameters:
p_pnCount
[out] count of image watermarks
Return values:
S_OK
on success or COM error codeNV_NOT_INITIALIZED
- Initialize was not calledNV_UNKNOWN_PROFILE
- no profile loaded