|
DeleteProfile |
Top Previous Next |
|
The DeleteProfile method deletes an existing profile. HRESULT DeleteProfile( [in] LPCWSTR p_wsProfileName, [in] BOOL p_bPublicProfile );
Parameters: p_wsProfileName [in] pointer to a null terminated Unicode string containing the name of the profile to delete. p_bPublicProfile [in] Flag if the profile is a public or a private profile.
Return values: S_OK on success or COM error code NV_NOT_INITIALIZED - Initialize was not called NV_UNKNOWN_PROFILE - profile specified by p_wsProfileName does not exist NV_ACTIVE_PROFILE - can not delete active profile NV_PUBLIC_PROFILE - you cannot change public profiles only on server |