#ifndef _NTREGAPI_H
/**
* Reports the registry trust classification associated with the containing hive.
* KeyTrustInformation requires at least 4 bytes and returns ResultLength = 4.
* TrustedKey occupies bit 0. The ordinary getter sets it when bit 0 of
* CMHIVE.Flags is clear and clears it when that hive flag is set. This is registry
* metadata, not a general statement that the key's contents are secure, authentic
* or safe to execute. Ignore the remaining 31 bits; this query does not grant
* access or change the hive's trust classification.
*/
typedef struct _KEY_TRUST_INFORMATION
{
ULONG TrustedKey : 1;
ULONG Reserved : 31;
} KEY_TRUST_INFORMATION, *PKEY_TRUST_INFORMATION;
View code on GitHubNo description available.