Partager via


IDebugCookie::SetDebugCookie

Sets the debug application cookie.

Syntax

HRESULT SetDebugCookie(  
   DWORD  dwDebugAppCookie  
);  

Parameters

dwDebugAppCookie
[in] A cookie that identifies the debug application.

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 sets the debug application cookie, which allows more than one debugger to attach to a process.

See also

IDebugCookie Interface