Retrieves the list of endpoints that a device supports.
- rgEndpoints [out]
A pointer that receives an array of endpoints. OnGetDeviceEndpoints should call the CoTaskMemAlloc function (described in the Microsoft Windows SDK documentation) to allocate memory space for the array. When the caller no longer requires the array, the caller must free the array.
- pcEndpoints [out]
A pointer to a variable that receives the number of endpoints in the array that the rgEndpoints parameter receives.
The OnGetDeviceEndpoints method returns S_OK if the operation succeeds. Otherwise, this method returns one of the error codes that are defined in Winerror.h.
For devices that are glance data only, the list returned in the rgEndpoints parameter should contain all endpoints that glance-text will be displayed for.