The DeleteProfile method deletes an existing profile.
HRESULT DeleteProfile(
[in] LPCWSTR p_wsProfileId
);
Parameters:
p_wsProfileId
[in]
pointer to a null terminated Unicode string containing the id of the profile to delete.Return values:
S_OK
on success or COM error codeNV_NOT_INITIALIZED
- Initialize was not calledNV_SERVICE_ERROR
- error connecting to novaPDF Server serviceNV_PROFILE_DELETE_ERROR
- error deleting profileNV_PROFILE_ERROR
- error reading profiles