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.

68 lines
2.5 KiB

  1. //+------------------------------------------------------------------
  2. //
  3. // Project: Windows NT4 DS Client Setup Wizard
  4. //
  5. // Purpose: Installs the Windows NT4 DS Client Files
  6. //
  7. // File: doinst.h
  8. //
  9. // History: Aug. 1998 Zeyong Xu Created
  10. // Jan 2000 Jeff Jones (JeffJon) Modified
  11. // - changed to be an NT setup
  12. //
  13. //------------------------------------------------------------------
  14. #define STR_DSCLIENT_INF TEXT("dsclient.inf")
  15. #define STR_INSTALL_SECTIONNT4 TEXT("DSClientNT4")
  16. #define STR_DSCLIENTINF_REGISTEROCX TEXT("DsClient.inf,RegisterOCXsection,1,N")
  17. #define STR_INSTSEC_DLL TEXT("instsec.dll")
  18. #define STR_SECUR32_DLL TEXT("secur32.dll")
  19. #define STR_GETENCSCHANNEL "GetEncSChannel"
  20. // define for the custom registry action after dscleint.inf by Chandana Surlu
  21. #define SECURITY_PROVIDERS_KEY TEXT("System\\CurrentControlSet\\Control\\SecurityProviders")
  22. #define SECURITY_PROVIDERS_VALUE TEXT("SecurityProviders")
  23. #define COMMA_BLANK TEXT(", ")
  24. #define NEGOTIAT TEXT("negotiat.dll")
  25. #define RUNONCE_KEY TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnce")
  26. #define REG_DSUI_VALUE TEXT("RegisterDSUI")
  27. #define REG_WABINST_VALUE TEXT("RunWABINST")
  28. #define REG_DSPROP_VALUE TEXT("RegisterDSPROP")
  29. #define STR_REGISTER_REGSVR32_SI_EXE TEXT("\\regsvr32.exe /s /i ")
  30. #define STR_REGISTER_REGSVR32_S_EXE TEXT("\\regsvr32.exe /s ")
  31. #define STR_RUN_WABINST_EXE TEXT("\\wabinst.exe /q /r:n")
  32. #define STR_REGISTER_DSFOLDER_DLL TEXT("\\dsfolder.dll")
  33. #define STR_REGISTER_DSQUERY_DLL TEXT("\\dsquery.dll")
  34. #define STR_REGISTER_DSUIEXT_DLL TEXT("\\dsuiext.dll")
  35. #define STR_REGISTER_CMNQUERY_DLL TEXT("\\cmnquery.dll")
  36. #define STR_REGISTER_DSPROP_DLL TEXT("\\dsprop.dll")
  37. INT LaunchINFInstall( HWND hWnd );
  38. VOID CALLBACK Timer1Proc(HWND hwnd,
  39. UINT uMsg,
  40. UINT idEvent,
  41. DWORD dwTime);
  42. UINT CALLBACK QueueCallbackProc(PVOID pDefaultContext,
  43. UINT Notification,
  44. UINT_PTR Param1,
  45. UINT_PTR Param2);
  46. VOID InstallFinish(BOOL nShow);
  47. BOOL LaunchProcess(LPTSTR lpCommandLine);
  48. BOOL RegisterOCX();
  49. VOID DoDsclientReg();
  50. BOOL DoEncSChannel();
  51. // encrypted schannel installer
  52. typedef BOOL (__cdecl *FPGETENCSCHANNEL)(BYTE**, DWORD*);
  53. //BOOL __cdecl GetEncSChannel(BYTE **pData, DWORD *dwDecSize);