The GetSignature method retrieves the signature and its layout object
HRESULT GetSignature(
[out, string] LPWSTR* p_pwsSignatureId
[out, string] LPWSTR* p_pwsLayoutId
);
Parameters:
p_pwsSignatureId
[out, string] - signature id
p_pwsLayoutId
[out, string] - layout id
Return values:
S_OK
on success or COM error codeNV_NOT_INITIALIZED
- Initialize was not calledNV_UNKNOWN_PROFILE
- no profile loadedNV_PROFILE_ERROR
- error reading profileRemarks:
There can be only one signature in a profile.
For layout options, see Working with Layout objects.