RegSecureKey
This structure describes what root keys must be protected in the system from non-trusted applications.
typedef struct RegSecureKey {
WORD wRoots;
WORD wLen;
LPWSTR pName;
} RegSecureKey;
Members
- wRoots
A bitmask of values that describes the predefined reserved roots the protected key is under. The following table shows the possible values for this member.Value Description REGSEC_HKCR Secure under HKEY_CLASSES_ROOT REGSEC_HKCU Secure under HKEY_CURRENT_USER REGSEC_HKLM Secure under HKEY_LOCAL_MACHINE REGSEC_HKUS Secure under HKEY_USERS - wLen
Length of the string pointed to by pName*,* not including the terminating NULL. - pName
Pointer to a buffer containing the name of the key to protect.
Remarks
The key specified by pName must be a key directly off the root of HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER, HKEY_USERS, or HKEY_CLASSES_ROOT. This will protect data from this key all its subkeys.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Pwinreg.h.
See Also
IOCTL_HAL_GETREGSECUREKEYS | RegSecureKeyList
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.