Share via


GetBusNamePrefix (Compact 2013)

3/26/2014

This function returns the bus prefix name.

Syntax

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

Parameters

  • lpReturnStr
    [out] Buffer to place the bus name prefix.
  • dwSizeInCharacters
    [out] Length of lpReturnStr.

Return Value

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

Header

ceddk.h

Library

CEDDK.lib

See Also

Reference

Ceddk.dll Bus Access Functions
CreateBusAccessHandle