IMachineDebugManager::AddApplication

Adds an application to the running application list.

Syntax

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

Parameters

pda
[in] Application to the running application list.

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 is called by the process debug manager whenever IProcessDebugManager::AddApplication is called.

See also

IMachineDebugManager Interface
IMachineDebugManager::RemoveApplication
IProcessDebugManager::AddApplication