The GetSignature2 method retrieves the signature and its layout object
HRESULT GetSignature2( [out, string] BSTR* p_pwsSignatureId [out, string] BSTR* p_pwsLayoutId );
p_pwsSignatureId [out, string] - signature id p_pwsLayoutId [out, string] - layout id
S_OKon success or COM error code
NV_NOT_INITIALIZED- Initialize was not called
NV_UNKNOWN_PROFILE- no profile loaded
NV_PROFILE_ERROR- error reading profile
There can be only one signature in a profile.
For layout options, see Working with Layout objects.