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.

35 lines
1.0 KiB

  1. #ifndef _ADJUSTUI_H_
  2. #define _ADJUSTUI_H_
  3. #define CTRL_BITMAP 1
  4. #define CTRL_TEXT 2
  5. typedef struct tagSTATICCTRL {
  6. UINT nCtrlType;
  7. union {
  8. UINT nID;
  9. LPCTSTR lpcszStr;
  10. };
  11. UINT nCtrlID;
  12. DWORD dwStyle;
  13. RECT rect;
  14. } STATICCTRL;
  15. typedef STATICCTRL* PSTATICCTRL;
  16. typedef const STATICCTRL* PCSTATICCTRL;
  17. typedef struct tagMODIFYDLGTEMPLATE {
  18. HINSTANCE hinst;
  19. DWORD dwStyle;
  20. SIZE sizeCtrlsOffset;
  21. STATICCTRL scBmpCtrl;
  22. STATICCTRL scTextCtrl;
  23. } MODIFYDLGTEMPLATE;
  24. typedef MODIFYDLGTEMPLATE* PMODIFYDLGTEMPLATE;
  25. typedef const MODIFYDLGTEMPLATE* PCMODIFYDLGTEMPLATE;
  26. HRESULT PrepareDlgTemplate(PCMODIFYDLGTEMPLATE pmdt, LPCVOID pvDlg, PVOID *ppvDT, LPDWORD pcbDlg);
  27. HRESULT SetDlgTemplateFont(HINSTANCE hInst, UINT nDlgID, const LOGFONT *plf, PVOID *ppvDT);
  28. BOOL IsTahomaFontExist(HWND hWnd);
  29. int CALLBACK PropSheetProc(HWND hDlg, UINT uMsg, LPARAM lParam);
  30. #endif