CAtlTransactionManager::RegDeleteKey
Deletes a subkey and its values from the specified platform-specific view of the registry as a transacted operation.
inline LSTATUS CAtlTransactionManager::RegDeleteKeyEx(
HKEY hKey,
LPCTSTR lpSubKey
);
Parameters
Parameter |
Description |
---|---|
hKey |
A handle to an open registry key. |
lpSubKey |
The name of the key to be deleted. |
Return Value
If the function succeeds, the return value is ERROR_SUCCESS. If the function fails, the return value is a nonzero error code defined in Winerror.h.
Remarks
This wrapper calls the RegDeleteKeyTransacted function.
Requirements
Header: atltransactionmanager.h