CAccPropServicesClass.ComposeHwndIdentityString 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
以及 CAccPropServicesClass 所有暴露的成員都是元件物件模型(COM) IAccPropServices 介面的受管理包裝器的一部分。
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
指定可存取元素的物件 ID。
- idChild
- UInt32
指定可存取元素的子 ID。
- ppIDString
-
IntPtr
nativeint
指標指向接收身份字串的緩衝區。 被叫方使用 CoTaskMemAlloc。 完成後,呼叫者必須透過呼叫 CoTaskMemFree來釋放緩衝區。
- pdwIDStringLen
- UInt32
指標指向接收單位字串長度的緩衝區。
實作
備註
欲了解更多資訊,請參閱 Microsoft Active Accessibility 文件。