NdisRetrieveUlong

VOID
    NdisRetrieveUlong(
        IN PULONG  DestinationAddress,
        IN PULONG  SourceAddress
        ); 

NdisRetrieveUlong retrieves a ULONG value from the source address, avoiding alignment faults.

Parameters

DestinationAddress
Points to a ULONG-aligned location in which to store the value.
SourceAddress
Points to a location from which to retrieve the ULONG value.

Comments

The given DestinationAddress is assumed to be aligned on a ULONG boundary.

Callers of NdisRetrieveUlong can be running at any IRQL if the given addresses are in nonpaged pool. Otherwise, callers must be running at IRQL < DISPATCH_LEVEL.

See Also

NdisStoreUlong