typedef struct _CM_KEY_VALUE
{
    unsigned short Signature;
    unsigned short NameLength;
    unsigned long DataLength;
    unsigned long Data;
    unsigned long Type;
    unsigned short Flags;
    unsigned short Spare;
    wchar_t Name[1];
} CM_KEY_VALUE, *PCM_KEY_VALUE;