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.

57 lines
1.6 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright(C) 2002 Microsoft Corporation
  5. //
  6. // File: sysprep.hxx
  7. //
  8. //----------------------------------------------------------------------------
  9. #ifndef __TASKSCHED_SYSPREP__H_
  10. #define __TASKSCHED_SYSPREP__H_
  11. //
  12. // Sysprep functions
  13. //
  14. HRESULT GetUniqueSPSName(
  15. ITaskScheduler* pITaskScheduler,
  16. ITask** ppITask,
  17. WCHAR* pwszTaskName);
  18. HRESULT PrepSysPrepTask(
  19. ITask** ppITaskToRun,
  20. WCHAR* pwszTaskName);
  21. HRESULT SaveSysprepInfo(void);
  22. HRESULT SaveSysprepKeyInfo(
  23. HCRYPTPROV hCSP);
  24. HRESULT SaveSysprepIdentityInfo(
  25. HCRYPTPROV hCSP);
  26. HRESULT PreProcessNetScheduleJobs(void);
  27. HRESULT GetSysprepIdentityInfo(
  28. DWORD* pcbIdentityData,
  29. BYTE** ppIdentityData);
  30. HRESULT GetSysprepKeyInfo(
  31. DWORD* pcbRC2KeyInfo,
  32. RC2_KEY_INFO** ppRC2KeyInfo);
  33. HRESULT ConvertSysprepInfo(void);
  34. HRESULT ConvertNetScheduleJobs(void);
  35. HRESULT ConvertIdentityData(
  36. HCRYPTPROV hCSP,
  37. DWORD* pcbSAI,
  38. BYTE** ppbSAI,
  39. DWORD* pcbSAC,
  40. BYTE** ppbSAC);
  41. HRESULT ConvertCredentialData(
  42. RC2_KEY_INFO* pRC2KeyPreSysprep,
  43. RC2_KEY_INFO* pRC2KeyPostSysprep,
  44. DWORD* pcbSAI,
  45. BYTE** ppbSAI,
  46. DWORD* pcbSAC,
  47. BYTE** ppbSAC);
  48. HRESULT ConvertNetScheduleCredentialData(
  49. RC2_KEY_INFO* pRC2KeyPreSysprep,
  50. RC2_KEY_INFO* pRC2KeyPostSysprep);
  51. #endif // __TASKSCHED_SYSPREP__H_