IoCreateDeviceSecure routine

For more information, see the WdmlibIoCreateDeviceSecure function.

Syntax


NTSTATUS IoCreateDeviceSecure(
  _In_     PDRIVER_OBJECT   DriverObject,
  _In_     ULONG            DeviceExtensionSize,
  _In_opt_ PUNICODE_STRING  DeviceName,
  _In_     DEVICE_TYPE      DeviceType,
  _In_     ULONG            DeviceCharacteristics,
  _In_     BOOLEAN          Exclusive,
  _In_     PCUNICODE_STRING DefaultSDDLString,
  _In_opt_ LPCGUID          DeviceClassGuid,
  _Out_    PDEVICE_OBJECT   *DeviceObject
);

Parameters

DriverObject [in]

For more information, see the WdmlibIoCreateDeviceSecure function.

DeviceExtensionSize [in]

For more information, see the WdmlibIoCreateDeviceSecure function.

DeviceName [in, optional]

For more information, see the WdmlibIoCreateDeviceSecure function.

DeviceType [in]

For more information, see the WdmlibIoCreateDeviceSecure function.

DeviceCharacteristics [in]

For more information, see the WdmlibIoCreateDeviceSecure function.

Exclusive [in]

For more information, see the WdmlibIoCreateDeviceSecure function.

DefaultSDDLString [in]

For more information, see the WdmlibIoCreateDeviceSecure function.

DeviceClassGuid [in, optional]

For more information, see the WdmlibIoCreateDeviceSecure function.

DeviceObject [out]

For more information, see the WdmlibIoCreateDeviceSecure function.

Return value

For more information, see the WdmlibIoCreateDeviceSecure function.

STATUS_INSUFFICIENT_RESOURCES
STATUS_OBJECT_NAME_COLLISION

Requirements

Target platform

Desktop

Version

For more information, see the WdmlibIoCreateDeviceSecure function.

Header

Wdmsec.h (include Wdmsec.h)

Library

Wdmsec.lib

IRQL

PASSIVE_LEVEL

DDI compliance rules

MiniportOnlyWdmDevice, HwStorPortProhibitedDDIs

See also

WdmlibIoCreateDeviceSecure

 

 

Send comments about this topic to Microsoft

Show: