Compartir a través de


BTH_HCI_IOCTL_GET_SCO_PARAMETERS (Windows CE 5.0)

Send Feedback

This IOCTL retrieves information about a SCO connection in the GetScoParameters structure.

Parameters

  • hDeviceContext
    [in] Device context handle.
  • fSelector
    [in] Equals BTH_HCI_IOCTL_GET_SCO_PARAMETERS.
  • cInBuffer
    Not used.
  • pInBuffer
    Not used.
  • cOutBuffer
    Equals the size of GetScoParameters.
  • pOutBuffer
    [out] Points to GetScoParameters.
  • pcDataReturned
    [out] Not used.

Return Values

If the call succeeds, the return value is ERROR_SUCCESS.

If the function fails, the following table shows a list of possible error values.

Error value Description
ERROR_INVALID_PARAMETER Parameters are invalid (buffers are not properly sized).
ERROR_SERVICE_NOT_ACTIVE HCI is not active or there is no hardware.

Remarks

You must define GetScoParameters to store data returned by BTH_HCI_IOCTL_GET_SCO_PARAMETERS. The structure must be defined as follows.

struct {
  OUT BOOL  bScoSupported;  // Determines if SCO is supported.
  OUT DWORD dwScoPacketMaxDataSize;  // Stores the maximum SCO packet size
  OUT DWORD dwNumConcurrentScoPackets;  // Stores the number of concurrent 
                                        //SCO packets, which can be 
                                        //outstanding.
} GetScoParameters;

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Bt_ddi.h

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.