Source code of Windows XP (NT5)
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.
|
|
//
// Copyright 1997 - Microsoft
//
// DPGUIDQY.H - The duplicate GUID query form
//
#ifndef _DPGUIDQY_H_
#define _DPGUIDQY_H_
// QITable
BEGIN_QITABLE( CRIQueryForm ) DEFINE_QI( IID_IQueryForm, IQueryForm, 3 ) END_QITABLE
// Definitions
LPVOID CRIQueryForm_CreateInstance( void );
// CRIQueryForm
class CRIQueryForm : public IQueryForm { private: // IUnknown
ULONG _cRef; DECLARE_QITABLE( CRIQueryForm );
HWND _hDlg;
private: // methods
CRIQueryForm( ); ~CRIQueryForm( ); HRESULT Init( void );
// Property Sheet Functions
static INT_PTR CALLBACK PropSheetDlgProc( HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam ); static HRESULT CALLBACK PropSheetPageProc( LPCQPAGE pQueryPage, HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); static UINT CALLBACK PropSheetPageProc( HWND hwnd, UINT uMsg, LPPROPSHEETPAGE ppsp ); HRESULT _InitDialog( HWND hDlg, LPARAM lParam ); INT _OnCommand( WPARAM wParam, LPARAM lParam ); INT _OnNotify( WPARAM wParam, LPARAM lParam ); HRESULT _OnPSPCB_Create( ); HRESULT _GetQueryParams( HWND hwnd, LPDSQUERYPARAMS* ppdsqp );
public: // methods
friend LPVOID CRIQueryForm_CreateInstance( void );
// IUnknown methods
STDMETHOD(QueryInterface)(REFIID riid, LPVOID * ppvObj); STDMETHOD_(ULONG,AddRef)(); STDMETHOD_(ULONG,Release)();
// IQueryForm methods
STDMETHOD(Initialize)(HKEY hkForm); STDMETHOD(AddForms)(LPCQADDFORMSPROC pAddFormsProc, LPARAM lParam); STDMETHOD(AddPages)(LPCQADDPAGESPROC pAddPagesProc, LPARAM lParam); };
typedef CRIQueryForm * LPCRIQueryForm;
#endif // _DPGUIDQY_H_
|