共用方式為


CAccPropServicesClass.ComposeHwndIdentityString 方法

定義

CAccPropServicesClass 和其所有公開的成員都是元件物件模型 (COM) IAccPropServices 介面之 Managed 包裝函式的一部分。

public:
 virtual void ComposeHwndIdentityString(Accessibility::_RemotableHandle % hwnd, System::UInt32 idObject, System::UInt32 idChild, IntPtr ppIDString, [Runtime::InteropServices::Out] System::UInt32 % pdwIDStringLen) = Accessibility::IAccPropServices::ComposeHwndIdentityString;
public virtual void ComposeHwndIdentityString (ref Accessibility._RemotableHandle hwnd, uint idObject, uint idChild, IntPtr ppIDString, out uint pdwIDStringLen);
abstract member ComposeHwndIdentityString : _RemotableHandle * uint32 * uint32 * nativeint * uint32 -> unit
override this.ComposeHwndIdentityString : _RemotableHandle * uint32 * uint32 * nativeint * uint32 -> unit
Public Overridable Sub ComposeHwndIdentityString (ByRef hwnd As _RemotableHandle, idObject As UInteger, idChild As UInteger, ppIDString As IntPtr, ByRef pdwIDStringLen As UInteger)

參數

hwnd
_RemotableHandle

指定呼叫端要識別之可存取項目的 HWND。

idObject
UInt32

指定可存取項目的物件識別碼。

idChild
UInt32

指定可存取項目的子項目識別碼。

ppIDString
IntPtr

nativeint

緩衝區的指標,接收識別字串。 被呼叫端會使用 CoTaskMemAlloc 配置緩衝區。 結束時,呼叫端必須呼叫 CoTaskMemFree 以釋放緩衝區。

pdwIDStringLen
UInt32

緩衝區的指標,接收識別字串的長度。

實作

備註

如需詳細資訊,請參閱 Microsoft Active Accessibility 檔。

適用於