ITypeInfo::GetDllEntry

Prototypes

HRESULT ITypeInfo::GetDllEntry(MEMBERID Identifiant, INVOKEKIND ModeDAppel, BSTR *NomBibliotheque, BSTR *NomMethode, USHORT *NumeroMethode);

Description

Retrouve la description de la méthode identifiée par Identifiant sous forme du nom de la biblothèque dynamique NomBibliotheque, du nom de la méthode NomMethode et du numéro de la methode NumeroMethode.

Exemple

#include <windows.h>
#include <winbase.h>
#include <ole2.h>

ITypeInfo *pITypeInfo;
MEMBERID Identifiant;
BSTR NomBibliotheque;
BSTR NomMethode;
USHORT NumeroMethode;

...
NomBibliotheque=NULL;
BSTR NomMethode=NULL;
NumeroMethode=0;
if (pITypeInfo->GetDllEntry(Identifiant, DISPATCH_METHOD, &NomBibliotheque, &NomMethode, &NumeroMethode)!=S_OK)
...
SysFreeString(NomBibliotheque);
SysFreeString(NomMethode);
...

Avertissement

Le résultat est S_OK en cas de succès.

Voir aussi

Néant.