typedef struct _XSTATE_CONTEXT
{
    unsigned __int64 Mask;
    unsigned long Length;
    unsigned long Reserved1;
    XSAVE_AREA *Area;
    void *Buffer;
} XSTATE_CONTEXT, *PXSTATE_CONTEXT;