次の方法で共有


GetBusNamePrefix (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

CEDDK Dynamic-Link Library Bus Access Functions
CreateBusAccessHandle