Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes the object by using the specified display name of the item that caused the error and a description of the error.
Syntax
HRESULT Initialize(
[in] LPCWSTR pcszItemDisplayName,
[in] LPCWSTR pcszErrorDescription
);
Parameters
[in] pcszItemDisplayName
The display name of the item that caused the error.
[in] pcszErrorDescription
The description of the error.
Return value
The possible return codes include, but are not limited to, the values shown in the following table.
| Return code | Description |
|---|---|
|
The method succeeded. |
|
|
|
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7 [desktop apps only] |
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
| Target Platform | Windows |
| Header | winsync.h |