Expand Minimize

PAGED_CODE_LOCKED macro

The PAGED_CODE_LOCKED macro asserts that the currently running code section is pageable and must have been locked into memory before it was run.

Syntax


VOID PAGED_CODE_LOCKED(void);

Parameters

This macro has no parameters.

Return value

None

Remarks

Pageable code must obey certain restrictions (such as IRQL <= APC_LEVEL), unless it is locked into place. A pageable routine that must be locked into place to work correctly should begin with a call to PAGED_CODE_LOCKED.

For more information about locking a code section into place, see Locking Pageable Code or Data.

Requirements

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

IRQL

See Remarks section.

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.