IoInitializeDriverCreateContext - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddk.h

VOID IoInitializeDriverCreateContext(
  PIO_DRIVER_CREATE_CONTEXT DriverContext
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntddk-ioinitializedrivercreatecontext)

IoInitializeDriverCreateContext function

Description

The IoInitializeDriverCreateContext routine initializes a caller-allocated variable of type IO_DRIVER_CREATE_CONTEXT.

Parameters

DriverContext

A pointer to a caller-allocated variable of type IO_DRIVER_CREATE_CONTEXT.

Remarks

The IoInitializeDriverCreateContext routine initializes a caller-allocated IO_DRIVER_CREATE_CONTEXT structure used in passing additional create parameters to the FltCreateFileEx2 and IoCreateFileEx routines.

Callers of IoInitializeDriverCreateContext can be running at any IRQL if the DriverContext block is in nonpaged pool. Otherwise, the caller must be running at IRQL <= APC_LEVEL.

Starting in Windows 10, version 1607, this routine sets the SiloContext member of IO_DRIVER_CREATE_CONTEXT to IO_USE_AMBIENT_SILO.

See also

FltCreateFileEx2

IoCreateFileEx