NdisGetSharedDataAlignment (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.
NdisGetSharedDataAlignment returns the preferred alignment for memory structures that can be shared by more than one processor.
This function has no parameters.
The boundary value, in bytes, on which drivers should align structures that can be shared by more than one processor.
Use NdisGetSharedDataAlignment to determine the best alignment for data structures that will be shared between processors. Using the returned value when allocating such structures minimizes cache effects that reduce the performance of multiprocessor systems.
System support for NdisGetSharedDataAlignment is available in Windows XP and later versions.