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.

93 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. clntutil.h
  5. Abstract:
  6. Headers of SCE client utilities
  7. Author:
  8. Jin Huang (jinhuang)
  9. Revision History:
  10. jinhuang Created 25-Jan-1998
  11. --*/
  12. #ifndef _clntutil_
  13. #define _clntutil_
  14. #include <ntlsa.h>
  15. //#ifdef __cplusplus
  16. //extern "C" {
  17. //#endif
  18. #define SCE_SETUP_CALLBACK 0x1
  19. #define SCE_DCPROMO_CALLBACK 0x2
  20. #define SCE_AREA_CALLBACK 0x3
  21. SCESTATUS
  22. ScepSetCallback(
  23. IN PVOID pCallback OPTIONAL,
  24. IN HANDLE hWnd OPTIONAL,
  25. IN DWORD Type
  26. );
  27. NTSTATUS
  28. ScepBindSecureRpc(
  29. IN LPWSTR servername,
  30. IN LPWSTR servicename,
  31. IN LPWSTR networkoptions,
  32. OUT RPC_BINDING_HANDLE * pBindingHandle
  33. );
  34. NTSTATUS
  35. ScepBindRpc(
  36. IN LPWSTR servername,
  37. IN LPWSTR servicename,
  38. IN LPWSTR networkoptions,
  39. OUT RPC_BINDING_HANDLE * pBindingHandle
  40. );
  41. DWORD
  42. ScepActivateServer(
  43. IN LPTSTR SystemName OPTIONAL
  44. );
  45. SCESTATUS
  46. ScepConfigSystem(
  47. IN LPTSTR SystemName OPTIONAL,
  48. IN PCWSTR InfFileName OPTIONAL,
  49. IN PCWSTR DatabaseName OPTIONAL,
  50. IN PCWSTR LogFileName OPTIONAL,
  51. IN DWORD ConfigOptions,
  52. IN AREA_INFORMATION Area,
  53. IN PSCE_AREA_CALLBACK_ROUTINE pCallback OPTIONAL,
  54. IN HANDLE hCallbackWnd OPTIONAL,
  55. OUT PDWORD pdWarning OPTIONAL
  56. );
  57. DWORD
  58. ScepClearPolicyFilterTempFiles(
  59. BOOL bClearFile
  60. );
  61. DWORD
  62. ScepProcessPolicyFilterTempFiles(
  63. IN LPTSTR LogFileName OPTIONAL
  64. );
  65. //#ifdef __cplusplus
  66. //}
  67. //#endif
  68. #endif