IoGetFileObjectGenericMapping function (ntddk.h)

The IoGetFileObjectGenericMapping routine returns information about the mapping between each generic access right and the set of specific access rights for file objects.

Syntax

PGENERIC_MAPPING IoGetFileObjectGenericMapping();

Return value

IoGetFileObjectGenericMapping returns a pointer to the GENERIC_MAPPING structure that describes the mapping between each generic access right and the implied set of specific access rights.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of Windows.
Target Platform Universal
Header ntddk.h (include Ntddk.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL
DDI compliance rules HwStorPortProhibitedDDIs(storport), IrqlIoPassive5(wdm), PowerIrpDDis(wdm)

See also

GENERIC_MAPPING

IoCheckShareAccess

IoSetShareAccess

ZwCreateFile