The DeleteOverlay method deletes an existing overlay.
HRESULT DeleteOverlay(
[in, string] LPCWSTR p_wsOverlayId
);
Parameters:
p_wsOverlayId
[in] pointer to a null terminated Unicode string containing the overlay id
Return values:
S_OK
on success or COM error codeNV_NOT_INITIALIZED
- Initialize was not calledNV_UNKNOWN_PROFILE
- no profile loadedNV_INVALID_OVERLAY
- wrong overlay index