Retrieves the name of the application.
Syntax
HRESULT GetName( BSTR *pbstrName );
Parameters
- pbstrName
- [out] Address of a string that contains the name of the application.
Return Value
Returns S_OK if successful, or an error code otherwise.