IMsgrSession::ApplicationName Property
Deprecated. Retrieves a value that indicates the application name.
Syntax
HRESULT IMsgrSession::get_ApplicationName(BSTR *pbstrName);
Parameters
- pbstrName
Pointer to a variable of type BSTR that specifies the application name.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
If the application does not have a name, an empty string ("") is returned.
The following table lists the error codes returned by this property.
Error Code Meaning E_INVALIDARG The value passed into the property was not valid. E_OUTOFMEMORY The application name is too long. SR_APP_NOT_SPECIFIED The application was not specified. Important IMsgrSession::ApplicationName is no longer available in Windows Vista. See Windows Messenger for more information.
See Also
Messenger Session Invite and Messenger Private APIs, Messenger Lock and Key API