wdmsec.h header

This header exposes security routines for kernel-mode drivers. They are used to create the device object with a security descriptor. Do not use the functions in this header directly, instead use:

wdmsec.h contains the following programming interfaces:

Functions

 
WdmlibIoCreateDeviceSecure

The WdmlibIoCreateDeviceSecure function (or IoCreateDeviceSecure) creates a named device object and applies the specified security settings.
WdmlibIoValidateDeviceIoControlAccess

The WdmlibIoValidateDeviceIoControlAccess function verifies that the sender of an IRP_MJ_DEVICE_CONTROL or IRP_MJ_FILE_SYSTEM_CONTROL IRP has the specified access to the device object.
WdmlibRtlInitUnicodeStringEx

The WdmlibRtlInitUnicodeStringEx function initializes a counted string of Unicode characters.