Microsoft Windows CE 3.0  

GetInterface

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This function sends a request to a USB device for information about alternate device settings.

USB_TRANSFER
GetInterface(
USB_HANDLE
hDevice
,
LPTRANSFER_NOTIFY_ROUTINE
lpStartAddress
,
LPVOID
lpvNotifyParameter
,
DWORD
dwFlags
,
UCHAR
bInterfaceNumber
,
PUCHAR
lpbAlternateSetting
);

Parameters

hDevice
[IN] Handle to a USB device.
lpStartAddress
[IN] Non-null pointer to a callback routine.
lpvNotifyParameter
[IN] Pointer to a parameter to pass to the callback routine.
dwFlags
[IN] Specifies either of the values USB_NO_WAIT or 0.
bInterfaceNumber
[IN] Specifies the interface number.
lpbAlternateSetting
[OUT] Filled in with current alternate setting value.

Return Values

A USB_TRANSFER handle indicates success. NULL indicates failure.

Remarks

This function initiates a control transfer to a USB device, requesting the alternate setting selected for the specified interface.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.10 and later      
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

AbortTransfer, GetTransferStatus, IsTransferComplete, SetInterface



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved. 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.