7.4 WFMDeleteValue

HRESULT WFMDeleteValue ( hKey, lpszValue )

Deletes the specified value (both name and data).

Parameters HKEY hKey

Handle to a currently open key, or the predefined handle value:
WFS_CFG_HKEY_XFS_ROOT

LPSTR lpszValue

Pointer to a null-terminated string specifying the name of the value to be deleted.

Comments The specified value is removed from the specified open key. The WFMSetValue function is used to create or modify values.

Error Codes If the function return is not WFS_SUCCESS, it is one of the following error conditions.

WFS_ERR_CFG_INVALID_HKEY
The specified hKey parameter does not correspond to a currently open key.
WFS_ERR_CFG_INVALID_VALUE
The specified value does not exist within the specified open key.
WFS_ERR_INVALID_POINTER
A pointer parameter does not point to accessible memory.