Rechercher une page de manuel
IDispatch_GetIDsOfNames.3w
Langue: en
Version: Jun 2009 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
IDispatch_GetIDsOfNames (OLEAUT32.@)SYNOPSIS
static HRESULT IDispatch_GetIDsOfNames(
LPDISPATCH iface,
REFIID riid,
LPOLESTR* rgszNames,
UINT cNames,
LCID lcid,
DISPID* rgDispId
)
DESCRIPTION
Convert a methods name and an optional set of parameter names into DISPIDs for passing to IDispatch_Invoke(3w).
PARAMS
iface [In] IDispatch interface.riid [In] Reserved, set to IID_NULL.
rgszNames [In] Name to convert.
cNames [In] Number of names in rgszNames.
lcid [In] Locale of the type information to convert from.
rgDispId [Out] Destination for converted DISPIDs.
RETURNS
Success: S_OK.
Failure: DISP_E_UNKNOWNNAME, if any of the names is invalid. DISP_E_UNKNOWNLCID if lcid is invalid. Otherwise, an HRESULT error code.
NOTES
This call defers to ITypeInfo_GetIDsOfNames(3w), using the ITypeInfo object contained within the IDispatch object. The first member of the names list must be a method name. The names following the method name are the parameters for that method.
IMPLEMENTATION
Defined in "oaidl.h".
Implemented in "dlls/oleaut32/dispatch.c".
Debug channel "ole".
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre