Sets the debug application cookie.
Syntax
HRESULT SetDebugCookie(
    DWORD dwDebugAppCookie
); 
Parameters
- dwDebugAppCookie
 - [in] Unsigned long integer that specifies the debug application cookie.
 
Return Value
Returns S_OK if successful, or an error code otherwise.