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.
 
 
 
 
 
 

73 lines
2.3 KiB

// ############################################################################
//#include "ras.h"
#define cbDataCenter (MAX_PATH+1) // max length of data center string
// ############################################################################
class CDialog
{
public:
void far * operator new( size_t cb ) { return GlobalAlloc(GPTR,cb); };
void operator delete( void far * p ) {GlobalFree(p); };
CDialog() {};
~CDialog() {};
virtual LRESULT DlgProc(HWND, UINT, WPARAM, LPARAM, LRESULT)=0;
};
// ############################################################################
class CSelectNumDlg : public CDialog
{
public:
CSelectNumDlg();
LRESULT DlgProc(HWND, UINT, WPARAM, LPARAM, LRESULT);
DWORD m_dwCountryID;
DWORD m_dwCountryIDOrg;
WORD m_wRegion;
DWORD_PTR m_dwPhoneBook;
TCHAR m_szPhoneNumber[RAS_MaxPhoneNumber+1];
TCHAR m_szDunFile[cbDataCenter];
BYTE m_fType;
BYTE m_bMask;
DWORD m_dwFlags;
private:
BOOL FHasPhoneNumbers(LPLINECOUNTRYENTRY pLCE);
BOOL m_fHasRegions;
HWND m_hwndDlg;
HRESULT FillRegion();
HRESULT FillNumber();
};
// ############################################################################
/********** 1/9/96 jmazner Normandy #13185
class CAccessNumDlg : public CDialog
{
public:
CAccessNumDlg();
~CAccessNumDlg() {};
LRESULT DlgProc(HWND, UINT, WPARAM, LPARAM, LRESULT);
DWORD m_dwPhoneBook;
PACCESSENTRY *m_rgAccessEntry;
WORD m_wNumber;
DWORD m_dwCountryID;
WORD m_wRegion;
BYTE m_fType;
BYTE m_bMask;
TCHAR m_szPrimary[RAS_MaxPhoneNumber];
TCHAR m_szSecondary[RAS_MaxPhoneNumber];
TCHAR m_szDunPrimary[cbDataCenter + sizeof('\0')];
TCHAR m_szDunSecondary[cbDataCenter + sizeof('\0')];
};
**************/
// ############################################################################
#ifdef WIN16
extern "C" BOOL CALLBACK __export PhbkGenericDlgProc(
#else
extern "C" __declspec(dllexport) INT_PTR CALLBACK PhbkGenericDlgProc(
#endif
HWND hwndDlg, // handle to dialog box
UINT uMsg, // message
WPARAM wParam, // first message parameter
LPARAM lParam // second message parameter
);