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
[in] The string describing the error. The Unicode version of `Error` specifies that *lpszDesc* is of type LPCOLESTR; the ANSI version specifies a type of LPCSTR.
148
147
149
-
*iid*<br/>
148
+
*iid*\
150
149
[in] The IID of the interface defining the error or GUID_NULL (the default value) if the error is defined by the operating system.
151
150
152
-
*hRes*<br/>
151
+
*hRes*\
153
152
[in] The HRESULT you want returned to the caller. The default value is 0. For more details about *hRes*, see Remarks.
154
153
155
-
*nID*<br/>
154
+
*nID*\
156
155
[in] The resource identifier where the error description string is stored. This value should lie between 0x0200 and 0xFFFF, inclusively. In debug builds, an **ASSERT** will result if *nID* does not index a valid string. In release builds, the error description string will be set to "Unknown Error."
157
156
158
-
*dwHelpID*<br/>
157
+
*dwHelpID*\
159
158
[in] The help context identifier for the error.
160
159
161
-
*lpszHelpFile*<br/>
160
+
*lpszHelpFile*\
162
161
[in] The path and name of the help file describing the error.
163
162
164
-
*hInst*<br/>
163
+
*hInst*\
165
164
[in] The handle to the resource. By default, this parameter is `_AtlModule::GetResourceInstance`, where `_AtlModule` is the global instance of [CAtlModule](../../atl/reference/catlmodule-class.md).
166
165
167
166
### Return Value
@@ -178,7 +177,7 @@ If the *hRes* parameter is nonzero, then `Error` returns the value of *hRes*. If
178
177
179
178
Provides a consistent way of retrieving the object's CLSID.
180
179
181
-
```
180
+
```cpp
182
181
static const CLSID& WINAPI GetObjectCLSID();
183
182
```
184
183
@@ -190,7 +189,7 @@ The object's class identifier.
190
189
191
190
This static function retrieves the text description for your class object.
0 commit comments