Adds an application to the list of running applications.
Syntax
HRESULT AddApplication( IRemoteDebugApplication *pda, DWORD dwDebugAppCookie, DWORD *pdwAppCookie );
Parameters
- pda
- [in] Address of an IRemoteDebugApplication interface to add.
- dwDebugAppCookie
- [in] Unsigned long integer value that specifies a debug application cookie.
- pdwAppCookie
- [out] Address of an unsigned long integer that specifies an application cookie.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method is called whenever the IProcessDebugManager::AddApplication method is called.