Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WinUsb_GetAdjustedFrameNumber
Collapse the table of content
Expand the table of content

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

Target platform

Universal

Header

Winusb.h (include Winusb.h)

Library

Winusb.lib

DLL

Winusb.dll

See also

WinUSB Functions
Send USB isochronous transfers from a WinUSB desktop app

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft