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.
Providers should return errors to the caller by using one of the error codes shown in the following table.
Error | Error code (hexadecimal) | Description |
---|---|---|
OSC_E_AUTH_ERROR |
0x80041404 |
Authentication failed on the network of the social network site. |
OSC_E_COULDNOTCONNECT |
0x80041402 |
No connection is available to connect to the social network site. |
OSC_E_FAIL |
0x80004005 |
General failure error. |
OSC_E_INTERNAL_ERROR |
0x80041400 |
An internal error occurred because of an invalid operation. |
OSC_E_INVALIDARG (E_INVALIDARG) |
0x80070057 |
An invalid argument was passed to a function. |
OSC_E_NO_CHANGES |
0x80041406 |
No changes have occurred since the last synchronization. |
OSC_E_NOT_FOUND |
0x80041405 |
A resource cannot be found. |
OSC_E_NOT_IMPLEMENTED (E_NOTIMPL) |
0x80004001 |
The request to the social network site is valid but has not been implemented by the social network site. |
OSC_E_OUT_OF_MEMORY (E_OUTOFMEMORY) |
0x8007000E |
An out-of-memory error occurred. |
OSC_E_PERMISSION_DENIED |
0x80041403 |
The OSC provider denied permission for the resource. |
OSC_E_SERVER_VERSION_NOT_SUPPORTED |
0x80041406 |
The version of the server to configure the social network account is not supported. |
OSC_E_VERSION |
0x80041401 |
The provider does not support this version of OSC provider extensibility. |
Remarks
Success, warning, and error values are returned by using a 32-bit number that is called a result handle, or HRESULT. An HRESULT is not a handle to anything; it is merely a 32-bit value that has several fields encoded in the value. A positive result indicates success with status, a zero result indicates success without status (S_OK), and a negative result indicates failure.