共用方式為


CAccPropServicesClass.ComposeHmenuIdentityString 方法

定義

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

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

參數

hmenu
_RemotableHandle

識別以 HMENU 為基礎的可存取項目。

idChild
UInt32

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

ppIDString
IntPtr

nativeint

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

pdwIDStringLen
UInt32

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

實作

備註

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

適用於