Sets the debug application cookie.
HRESULT SetDebugCookie( DWORD dwDebugAppCookie );
[in] A cookie that identifies the debug application.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
The method succeeded.
This method sets the debug application cookie, which allows more than one debugger to attach to a process.