typedef struct _GENERIC_MAPPING { unsigned long GenericRead; unsigned long GenericWrite; unsigned long GenericExecute; unsigned long GenericAll; } GENERIC_MAPPING, *PGENERIC_MAPPING;