Endpoints Property
The Endpoints property geturns a collection of ISoftUSBEndpoint objects that represent the set of endpoints that the ISoftUSBInterface interface supports. This property is read-only.
This property is read-only.
Syntax
HRESULT get_Endpoints(
[out, retval] ISoftUSBEndpoints **ppiEndPoints
);
Property Value
Caller-allocated space that holds the endpoint collection that is associated with the interface. Note that the caller must release the returned interface.
Error Codes
Endpoints returns an HRESULT value.
Remarks
The following C++ code example shows how to get the Endpoints property.
CLoopBackDevice::GetEndpoints(ISoftUSBInterface *piInterface,
ISoftUSBEndpoints **ppiEndpoints)
{
Return (piInterface->get_Endpoints(ppiEndpoints));
}
Requirements
Header |
SoftUSBif.h |
See Also
Send comments about this topic to Microsoft
Build date: 9/21/2010