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.

47 lines
1.0 KiB

  1. //
  2. // Copyright 1997 - Microsoft
  3. //
  4. //
  5. // SIFPROP.H - Handles the "SIF Properties" IDC_SIF_PROP_IMAGES
  6. // and IDD_SIF_PROP_TOOLS dialogs
  7. //
  8. #ifndef _SIFPROP_H_
  9. #define _SIFPROP_H_
  10. // Definitions
  11. HRESULT
  12. CSifProperties_CreateInstance(
  13. HWND hParent,
  14. LPCTSTR lpszTemplate,
  15. LPSIFINFO pSIF );
  16. // CSifProperties
  17. class
  18. CSifProperties
  19. {
  20. private:
  21. HWND _hDlg;
  22. LPSIFINFO _pSIF;
  23. private: // Methods
  24. CSifProperties();
  25. ~CSifProperties();
  26. STDMETHOD(Init)( HWND hParent, LPCTSTR lpszTemplate, LPSIFINFO pSIF );
  27. // Property Sheet Functions
  28. HRESULT _InitDialog( HWND hDlg );
  29. INT _OnCommand( WPARAM wParam, LPARAM lParam );
  30. INT _OnNotify( WPARAM wParam, LPARAM lParam );
  31. static INT_PTR CALLBACK
  32. PropSheetDlgProc( HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam );
  33. public: // Methods
  34. friend HRESULT CSifProperties_CreateInstance( HWND hParent, LPCTSTR lpszTemplate, LPSIFINFO pSIF );
  35. };
  36. typedef CSifProperties* LPCSIFPROPERTIES;
  37. #endif // _SIFPROP_H_