Partager via


GetBusNamePrefix (Windows CE 5.0)

Send Feedback

This function returns the bus prefix name.

BOOL GetBusNamePrefix (  HANDLE hBusAccess,  LPTSTR lpReturnStr,  DWORD dwSizeInCharacters);

Parameters

  • hBusAccess
    [in] Handle obtained from CreateBusAccessHandle.
  • lpReturnStr
    [out] Buffer to place the bus name prefix.
  • dwSizeInCharacters
    [out] Length of lpReturnStr.

Return Values

Returns TRUE if successful. Otherwise, it returns FALSE.

Remarks

The bus prefix name is used to create the bus name for devices on the subordinate bus combined with the bus number, slot number, and function number.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: CEDDK.h.

See Also

CreateBusAccessHandle

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.