NdisRetrieveUlong (NDIS 5.1) function
Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
NdisRetrieveUlong retrieves a ULONG value from the source address, avoiding alignment faults.
Syntax
VOID NdisRetrieveUlong(
_In_ PULONG DestinationAddress,
_In_ PULONG SourceAddress
);
Parameters
DestinationAddress [in]
Pointer to a ULONG-aligned location in which to store the value.SourceAddress [in]
Pointer to a location from which to retrieve the ULONG value.
Return value
None
Remarks
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.
Requirements
Target platform |
Desktop |
Version |
See NdisRetrieveUlong. |
Header |
Ndis.h (include Ndis.h) |
IRQL |
See Remarks section. |
See also