Freigeben über


NdisRetrieveUlong (Compact 2013)

3/26/2014

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

Syntax

VOID NdisRetrieveUlong(
  PULONG DestinationAddress,
  PULONG SourceAddress
); 

Parameters

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

Return Value

None.

Remarks

NdisRetrieveUlong assumes that the given DestinationAddress is 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.

Requirements

Header

ndis.h

See Also

Reference

NDIS Memory Interface
NdisStoreUlong
NdisStoreUlong