The CeRegDeleteKey function deletes a key and all its descendants. This is the RAPI version of the RegDeleteKey function.
LONG CeRegDeleteKey(HKEY hKey, LPCWSTR lpszSubKey);
Header file: | Rapi.h |
Platforms: | H/PC |
Windows CE versions: | 2.0 and later |
When writing applications for Windows CE versions 1.0 and 1.01, use the PegRegDeleteKey function.
For more information about using RAPI functions, see Invoking Functions from a Desktop Computer.