Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//
// discodlg.h: Disconnected dlg
//
#ifndef _disconnecteddlg_h_
#define _disconnecteddlg_h_
#include "dlgbase.h"
class CContainerWnd;
class CDisconnectedDlg { public: CDisconnectedDlg(HWND hwndOwner, HINSTANCE hInst, CContainerWnd* pContWnd); ~CDisconnectedDlg();
virtual DCINT DoModal();
VOID SetDisconnectReason(UINT id) {_disconnectReason=id;} VOID SetExtendedDiscReason(ExtendedDisconnectReasonCode extDiscReason) {_extendedDiscReason = extDiscReason;}
private: static BOOL MapErrorToString( HINSTANCE hInstance, INT disconnectReason, ExtendedDisconnectReasonCode extendedDisconnectReason, LPTSTR szErrorMsg, INT cchErrorLen );
private: UINT _disconnectReason; ExtendedDisconnectReasonCode _extendedDiscReason; CContainerWnd* _pContWnd; HINSTANCE _hInstance; HWND _hwndOwner; };
#endif //_disconnecteddlg_h_
|