IDebugApplication::SetName

Sets the name of the application.

Syntax

HRESULT SetName(  
   LPCOLESTR  pstrName  
);  

Parameters

pstrName
[in] The name of the application.

Return Value

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.

Remarks

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.

See also

IDebugApplication Interface
IProcessDebugManager::AddApplication