30.11.2012 Views

USBIO Driver for Windows CE - Thesycon Systemsoftware ...

USBIO Driver for Windows CE - Thesycon Systemsoftware ...

USBIO Driver for Windows CE - Thesycon Systemsoftware ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3 Programming Interface<br />

CUsbIo::GetDeviceDescriptor<br />

Get the device descriptor from the device.<br />

Definition<br />

DWORD<br />

GetDeviceDescriptor(<br />

USB_DEVI<strong>CE</strong>_DESCRIPTOR* Desc<br />

);<br />

Parameter<br />

Desc<br />

Pointer to a caller-provided variable that receives the requested descriptor.<br />

Return Value<br />

The function returns 0 if successful, an <strong>USBIO</strong> error code otherwise.<br />

Comments<br />

GetDeviceDescriptor calls CUsbIo::GetDescriptor to retrieve the descriptor. Thus, <strong>for</strong><br />

detailed in<strong>for</strong>mation see also CUsbIo::GetDescriptor.<br />

The device must have been opened be<strong>for</strong>e this function is called.<br />

See Also<br />

CUsbIo::Open (page 28)<br />

CUsbIo::GetDescriptor (page 44)<br />

CUsbIo::GetConfigurationDescriptor (page 47)<br />

CUsbIo::GetStringDescriptor (page 49)<br />

46 <strong>USBIO</strong> <strong>Driver</strong> <strong>for</strong> <strong>Windows</strong> <strong>CE</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!