NdisStoreUlong macro (ndis.h)

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

Syntax

void NdisStoreUlong(
        Destination,
  [in]  Value
);

Parameters

Destination

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

[in] Value

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

Requirement Value
Minimum supported client Supported for existing drivers in NDIS 6.0 and later, but new drivers should use RtlStoreUlong instead.
Target Platform Desktop
Header ndis.h (include Ndis.h)
IRQL See Remarks section

See also

NdisRetrieveUlong