IMsgrSessionManager::UnRegisterApplication method
[UnRegisterApplication is no longer available for use as of Windows Vista. See Windows Messenger for more information.]
Removes an application from the Messenger client list.
Syntax
HRESULT UnRegisterApplication(
[in] BSTR bstrAppGUID
);
Parameters
-
bstrAppGUID [in]
-
Type: BSTR
The GUID of the application to unregister. Maximum character length is 39.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
The application was unregistered successfully. |
|
One of the parameters passed to the method was not valid. |
|
You are attempting to unregister an application that is not yet registered. |
|
The method failed to delete the information from the registry. |
Remarks
To register an application, use the RegisterApplication method.
The following table lists the error codes returned by this method.
Error Code | Meaning |
---|---|
0x80040151 | The method failed to delete the information from the registry. |
0x80070057 | The parameter passed to the method was not valid. |
SR_APP_NOT_REGISTERED (0x8100060e) | You are attempting to unregister an application that is not yet registered. |
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
End of client support |
Windows XP |
End of server support |
Windows Server 2003 |
Product |
Messenger 4.5 |
Header |
|
IDL |
|
DLL |
|