IProcessDebugManager::AddApplication

Adds an application to the machine debug manager's list of running applications.

Syntax

HRESULT AddApplication(  
   IDebugApplication*  pda,  
   DWORD*              pdwAppCookie  
);  

Parameters

pda
[in] The debug application to add to the list of running applications.

pdwAppCookie
[out] A cookie that is used to remove the application from the machine debug manager.

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

This method adds an application to the running application list in the machine debug manager.

See also

IProcessDebugManager Interface
IProcessDebugManager::RemoveApplication