argentum@office.etersoft.ru writes:
+/**************************************************************************
- IProfAdmin_GetLastError
- PARAMS
- hResult [I] HRESULT data type containing the error value
generated in the previous method call.
- lppMAPIError [O] Pointer to a pointer to the MAPIERROR structure
containing version, component, and context information
for the error. The lppMAPIError parameter can be set
to NULL if there is no MAPIERROR structure to return.
- ulFlags [I] Bitmask of flags that controls the type of the string
pointed to by lpszProfileName. The following flag can be set:
0 The strings in the structure returned in the pointer parameter
are in ANSI format
MAPI_UNICODE The structure's strings are in Unicode format.
- RETURNS
- S_OK The call succeeded and has returned the expected value or values.
- MAPI_E_BAD_CHARWIDTH Either the MAPI_UNICODE flag was set and the implementation
does not support Unicode, or MAPI_UNICODE was not set and the
implementation only supports Unicode.
- */
Copying text from MSDN is not acceptable. If you are going to write documentation you have to do it in your own words, without looking at MSDN.