IDispatchEx::GetDispID
Maps a single member name to its corresponding DISPID, which can then be used on subsequent calls to IDispatchEx::InvokeEx.
HRESULT GetDispID( BSTR bstrName, DWORD grfdex, DISPID *pid );
Maps a single member name to its corresponding DISPID, which can then be used on subsequent calls to IDispatchEx::InvokeEx.
HRESULT GetDispID( BSTR bstrName, DWORD grfdex, DISPID *pid );