Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.11 KB

CeRegDeleteValue.md

File metadata and controls

52 lines (35 loc) · 1.11 KB

Home

Function name : CeRegDeleteValue

Group: Remote Application Programming (RAPI) - Library: rapi


This function removes a named value from the specified registry key.


Code examples:

Pocket PC: custom RAPI class for operating with the System Registry

Declaration:

LONG CeRegDeleteValue(
  HKEY hKey,
  LPCWSTR lpszValueName
);  

FoxPro declaration:

DECLARE INTEGER CeRegDeleteValue IN rapi;
	INTEGER hKey,;
	STRING  lpszValueName  

Parameters:

hKey [in] Handle to a currently open key or any of the predefined reserved handle values.

lpszValueName [in] Pointer to a null-terminated string that names the value to remove.


Return value:

ERROR_SUCCESS indicates success.


Comments:

If lpszValueName parameter is NULL or points to an empty string, the default value of the key is removed. A default value is created by calling CeRegSetValueEx (RAPI) with a NULL or empty string value name.