Skip to content

Commit 4f83555

Browse files
authored
Make all syntax code blocks in IDispEventImpl class reference cpp
1 parent 2308730 commit 4f83555

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/atl/reference/idispeventimpl-class.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This class provides implementations of the `IDispatch` methods.
1515
1616
## Syntax
1717

18-
```
18+
```cpp
1919
template <UINT nID, class T,
2020
const IID* pdiid = &IID_NULL,
2121
const GUID* plibid = &GUID_NULL,
@@ -109,7 +109,7 @@ For more information, see [Supporting `IDispEventImpl`](../../atl/supporting-idi
109109
110110
Locates the function index for the specified dispatch identifier.
111111
112-
```
112+
```cpp
113113
HRESULT GetFuncInfoFromId(
114114
const IID& iid,
115115
DISPID dispidMember,
@@ -139,7 +139,7 @@ A standard `HRESULT` value.
139139

140140
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).
141141

142-
```
142+
```cpp
143143
STDMETHOD(GetIDsOfNames)(
144144
REFIID riid,
145145
LPOLESTR* rgszNames,
@@ -156,7 +156,7 @@ See [`IDispatch::GetIDsOfNames`](/windows/win32/api/oaidl/nf-oaidl-idispatch-get
156156
157157
Retrieves the type information for an object, which can then be used to get the type information for an interface.
158158
159-
```
159+
```cpp
160160
STDMETHOD(GetTypeInfo)(
161161
UINT itinfo,
162162
LCID lcid,
@@ -167,7 +167,7 @@ STDMETHOD(GetTypeInfo)(
167167

168168
Retrieves the number of type information interfaces that an object provides (either 0 or 1).
169169

170-
```
170+
```cpp
171171
STDMETHOD(GetTypeInfoCount)(UINT* pctinfo);
172172
```
173173
@@ -179,7 +179,7 @@ See [`IDispatch::GetTypeInfoCount`](/windows/win32/api/oaidl/nf-oaidl-idispatch-
179179
180180
Retrieves the basic type of a user-defined type.
181181
182-
```
182+
```cpp
183183
VARTYPE GetUserDefinedType(
184184
ITypeInfo* pTI,
185185
HREFTYPE hrt);
@@ -205,15 +205,15 @@ See [`ITypeInfo::GetRefTypeInfo`](/windows/win32/api/oaidl/nf-oaidl-itypeinfo-ge
205205

206206
The constructor. Stores the values of the class template parameters *`plibid`*, *`pdiid`*, *`wMajor`*, and *`wMinor`*.
207207

208-
```
208+
```cpp
209209
IDispEventImpl();
210210
```
211211

212212
## <a name="_tihclass"></a> `IDispEventImpl::_tihclass`
213213

214214
This typedef is an instance of the class template parameter *`tihclass`*.
215215

216-
```
216+
```cpp
217217
typedef tihclass _tihclass;
218218
```
219219

0 commit comments

Comments
 (0)