Sets the name of the application.
Syntax
HRESULT SetName(
LPCOLESTR pstrName
);
Parameters
- pstrName
- [in] Address of a string that contains the name of the application.
Return Value
Returns S_OK if successful, or an error code otherwise.