_LocalBuilder.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) 方法
定义
将一组名称映射为对应的一组调度标识符。Maps a set of names to a corresponding set of dispatch identifiers.
public:
void GetIDsOfNames(Guid % riid, IntPtr rgszNames, System::UInt32 cNames, System::UInt32 lcid, IntPtr rgDispId);
public void GetIDsOfNames (ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
abstract member GetIDsOfNames : Guid * nativeint * uint32 * uint32 * nativeint -> unit
Public Sub GetIDsOfNames (ByRef riid As Guid, rgszNames As IntPtr, cNames As UInteger, lcid As UInteger, rgDispId As IntPtr)
参数
- riid
- Guid
留待将来使用。Reserved for future use. 必须为 IID_NULL。Must be IID_NULL.
- rgszNames
- IntPtr
要映射的名称的数组。An array of names to be mapped.
- cNames
- UInt32
要映射的名称的计数。The count of the names to be mapped.
- lcid
- UInt32
要在其中解释名称的区域设置上下文。The locale context in which to interpret the names.
- rgDispId
- IntPtr
调用方分配的数组,用于接收对应于这些名称的标识符。An array allocated by the caller that receives the identifiers corresponding to the names.
注解
此方法用于从非托管代码访问托管类,不应从托管代码调用。This method is for access to managed classes from unmanaged code and should not be called from managed code. 有关详细信息,请参阅 IDispatch:: idispatch.getidsofnames。For more information, see IDispatch::GetIDsOfNames.