You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/atl/reference/idispeventimpl-class.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ This class provides implementations of the `IDispatch` methods.
15
15
16
16
## Syntax
17
17
18
-
```
18
+
```cpp
19
19
template <UINT nID, classT,
20
20
const IID* pdiid = &IID_NULL,
21
21
const GUID* plibid = &GUID_NULL,
@@ -109,7 +109,7 @@ For more information, see [Supporting `IDispEventImpl`](../../atl/supporting-idi
109
109
110
110
Locates the function index for the specified dispatch identifier.
111
111
112
-
```
112
+
```cpp
113
113
HRESULT GetFuncInfoFromId(
114
114
const IID& iid,
115
115
DISPID dispidMember,
@@ -139,7 +139,7 @@ A standard `HRESULT` value.
139
139
140
140
Maps a single member and an optional set of argument names to a corresponding set of integer `DISPID`s, which can be used on subsequent calls to [`IDispatch::Invoke`](/windows/win32/api/oaidl/nf-oaidl-idispatch-invoke).
141
141
142
-
```
142
+
```cpp
143
143
STDMETHOD(GetIDsOfNames)(
144
144
REFIID riid,
145
145
LPOLESTR* rgszNames,
@@ -156,7 +156,7 @@ See [`IDispatch::GetIDsOfNames`](/windows/win32/api/oaidl/nf-oaidl-idispatch-get
156
156
157
157
Retrieves the type information for an object, which can then be used to get the type information for an interface.
158
158
159
-
```
159
+
```cpp
160
160
STDMETHOD(GetTypeInfo)(
161
161
UINT itinfo,
162
162
LCID lcid,
@@ -167,7 +167,7 @@ STDMETHOD(GetTypeInfo)(
167
167
168
168
Retrieves the number of type information interfaces that an object provides (either 0 or 1).
169
169
170
-
```
170
+
```cpp
171
171
STDMETHOD(GetTypeInfoCount)(UINT* pctinfo);
172
172
```
173
173
@@ -179,7 +179,7 @@ See [`IDispatch::GetTypeInfoCount`](/windows/win32/api/oaidl/nf-oaidl-idispatch-
179
179
180
180
Retrieves the basic type of a user-defined type.
181
181
182
-
```
182
+
```cpp
183
183
VARTYPE GetUserDefinedType(
184
184
ITypeInfo* pTI,
185
185
HREFTYPE hrt);
@@ -205,15 +205,15 @@ See [`ITypeInfo::GetRefTypeInfo`](/windows/win32/api/oaidl/nf-oaidl-itypeinfo-ge
205
205
206
206
The constructor. Stores the values of the class template parameters *`plibid`*, *`pdiid`*, *`wMajor`*, and *`wMinor`*.
0 commit comments