Freigeben über


IDebugMessageEvent2::SetResponse

Sets the response, if any, from the message box.

HRESULT SetResponse( 
   DWORD dwResponse
);
int SetResponse( 
   uint dwResponse
);

Parameters

  • dwResponse
    [in] Specifies the response, using the conventions of the Win32 MessageBox function. See the AfxMessageBox function for details.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Reference

IDebugMessageEvent2

AfxMessageBox