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.

48 lines
1.2 KiB

  1. /*********************************************************************
  2. Registration Wizard
  3. RegWizard.h
  4. 10/12/94 - Tracy Ferrier
  5. (c) 1994-95 Microsoft Corporation
  6. *********************************************************************/
  7. #ifndef __regwiz__
  8. #define __regwiz__
  9. #ifndef __CRegWizard__
  10. #include "CRegWiz.h"
  11. #endif
  12. #include <tchar.h>
  13. // Global variable references
  14. extern vDialogInitialized;
  15. typedef enum
  16. {
  17. kNoneFound = 0,
  18. kModemFound = 1,
  19. kConfigErr = 2,
  20. kModemTooSlow = 3
  21. }ModemStatus;
  22. ModemStatus DetectModem(HINSTANCE hInstance);
  23. extern INT_PTR DoRegistrationWizard(HINSTANCE hInstance, CRegWizard* clRegWizard, LPTSTR szProductPath);
  24. BOOL CheckOEMdll(void);
  25. typedef int (*pfnDialogFunc)(HWND,int,LPCTSTR );
  26. int DisplayDialog(HWND,int nDialogType, LPCTSTR lpszFieldName);
  27. typedef int (WINAPI *OEMStartDialog)(WORD,HBITMAP,HPALETTE,HWND *,pfnDialogFunc);
  28. typedef BOOL (WINAPI *OEMValidate)(LPSTR,LPTSTR,WORD,LPBOOL,LPWORD);
  29. typedef BOOL (WINAPI *OEMGetData)(WORD,LPBOOL,LPBYTE,WORD);
  30. typedef int (WINAPI *OEMDataCount)();
  31. typedef void (WINAPI *OEMRegistered)(BOOL);
  32. static HBITMAP hOemBitmap;
  33. #endif