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.
|
|
/*****************************************************************************
* * $Workfile: AddMInfo.h $ * * Copyright (C) 1997 Hewlett-Packard Company. * Copyright (c) 1997 Microsoft Corporation. * All rights reserved. * * 11311 Chinden Blvd. * Boise, Idaho 83714 * *****************************************************************************/
#ifndef INC_ADDMOREINFO_H
#define INC_ADDMOREINFO_H
#define DEFAULT_COMBO_SELECTION TEXT("<")
// Global Variables
extern HINSTANCE g_hInstance;
// Constants
const int MAX_LISTBOX_STRLEN = 50; const int MAX_REASON_STRLEN = 512;
class CMoreInfoDlg { public: CMoreInfoDlg(); ~CMoreInfoDlg();
public: BOOL OnInitDialog(HWND hDlg, WPARAM wParam, LPARAM lParam); BOOL OnCommand(HWND hDlg, WPARAM wParam, LPARAM lParam); BOOL OnNotify(HWND hDlg, WPARAM wParam, LPARAM lParam);
protected: BOOL OnButtonClicked(HWND hDlg, WPARAM wParam, LPARAM lParam); void FillComboBox(HWND hDlg); void OnSetActive(HWND hDlg); BOOL OnSelChange(HWND hDlg, WPARAM wParam, LPARAM lParam); void GetPrinterData(HWND hwndControl, LPCTSTR pszAddress);
private: ADD_PARAM_PACKAGE *m_pParams; CDevicePortList m_DPList; PORT_DATA_1 m_PortDataStandard; PORT_DATA_1 m_PortDataCustom; TCHAR m_szCurrentSelection[MAX_SECTION_NAME]; }; // CMoreInfoDlg
#ifdef __cplusplus
extern "C" { #endif
// Dialogs
INT_PTR CALLBACK MoreInfoDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
#ifdef __cplusplus
} #endif
#endif // INC_ADDMOREINFO_H
|