NdisStoreUlong macro

The NdisStoreUlong function stores a ULONG value at a particular address, avoiding alignment faults.

Syntax


VOID NdisStoreUlong(
  [in] PULONG DestinationAddress,
  [in] ULONG  Value
);

Parameters

DestinationAddress [in]

A pointer to a location in which to store a given ULONG value.

Value [in]

The value to be stored.

Return value

None

Remarks

Callers of NdisStoreUlong can be running at any IRQL if DestinationAddress points to nonpaged pool. Otherwise, the caller must be running at IRQL < DISPATCH_LEVEL.

Requirements

Target platform

Desktop

Version

Supported for existing drivers in NDIS 6.0 and later, but new drivers should use RtlStoreUlong instead.

Header

Ndis.h (include Ndis.h)

IRQL

See Remarks section

See also

NdisRetrieveUlong

 

 

Send comments about this topic to Microsoft

Show: