Sets the name of the application.
HRESULT SetName( LPCOLESTR pstrName );
- pstrName
[in] The name of the application.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value | Description |
---|---|
S_OK | The method succeeded. |
The name provided to this method is returned in subsequent calls to the IRemoteDebugApplication::GetName method.
This method should be called before calling the IProcessDebugManager::AddApplication method.