Share via


NdisGetSystemUpTime 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.

NdisGetSystemUpTime returns the number of milliseconds that have elapsed since the system was booted.

Syntax

VOID NdisGetSystemUpTime(
  _Out_ PULONG pSystemUpTime
);

Parameters

  • pSystemUpTime [out]
    Pointer to a caller-supplied variable in which this function returns the system uptime.

Return value

None

Remarks

NdisGetSystemUpTime is typically called by protocol drivers.

Requirements

Target platform

Universal

Version

Not supported for NDIS 6.0 drivers in Windows Vista. Use NdisGetSystemUpTimeExinstead. Supported for NDIS 5.1 drivers in Windows Vista and Windows XP.

Header

Ndis.h (include Ndis.h)

Library

Ndis.lib

IRQL

Any level

See also

NdisGetCurrentSystemTime

 

 

Send comments about this topic to Microsoft