windows-nt/Source/XPSP1/NT/base/remoteboot/admin/dpguidqy.h

69 lines
1.7 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//
// 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_