The GetOverlay method retrieves the overlay
HRESULT GetOverlay(
[in] LONG p_nIndex,
[out, string] LPWSTR* p_pwsOverlayId
);
Parameters:
p_nIndex,
[in] - overlay index
p_pwsOverlayId
[out, string] - overlay 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 multiple overlays in a profile.
For layout options, see Working with Layout objects.