Expand Minimize

WinUsb_GetAdjustedFrameNumber routine

The WinUsb_GetAdjustedFrameNumber function computes what the current USB frame number should be based on the frame number value and timestamp.

Syntax


BOOL __stdcall WinUsb_GetAdjustedFrameNumber(
  _Inout_  PULONG   CurrentFrameNumber,
  _In_     LARGE_INTEGER  TimeStamp
);

Parameters

CurrentFrameNumber [in, out]

The frame number to be adjusted.

TimeStamp [in]

The timestamp recorded at the time the frame number was returned.

Return value

WinUsb_GetAdjustedFrameNumber returns TRUE if the operation succeeds. Otherwise this function returns FALSE, and the caller can retrieve the logged error by calling GetLastError.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Header

Winusb.h (include Winusb.h)

Library

Winusb.lib

See also

WinUSB Functions
Send USB isochronous transfers from a WinUSB desktop app

 

 

Send comments about this topic to Microsoft

Build date: 12/5/2013

Show:
© 2014 Microsoft. All rights reserved.