Click to return to the Component Development home page    
IMachineDebugManagerCooki...     IMachineDebugManagerCooki...     IMachineDebugManagerCooki...    
Web Workshop  |  Component Development

IMachineDebugManagerCookie::AddApplication Method


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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.