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.

32 lines
1.2 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation 1996-2001.
  5. //
  6. // File: wrapper.h
  7. //
  8. //----------------------------------------------------------------------------
  9. #ifndef _SECMGR_WRAPPER_H
  10. #define _SECMGR_WRAPPER_H
  11. DWORD ApplyTemplate(LPCWSTR szProfile,LPCWSTR szDatabase, LPCWSTR szLogFile, AREA_INFORMATION Area);
  12. DWORD InspectSystem(LPCWSTR szProfile,LPCWSTR szDatabase, LPCWSTR szLogFile, AREA_INFORMATION Area);
  13. SCESTATUS AssignTemplate(LPCWSTR szTemplate, LPCWSTR szDatabase, BOOL bIncremental);
  14. SCESTATUS EngineOpenProfile(LPCWSTR FileName, int format, PVOID* hProfile);
  15. void EngineCloseProfile(PVOID* hProfile);
  16. BOOL EngineGetDescription(PVOID hProfile, LPWSTR* Desc);
  17. #define ENGINE_DEFAULT_PROFILE 0 // Template being used.
  18. #define ENGINE_DEFAULT_DATABASE 1 // Database being used.
  19. BOOL GetProfileDescription(LPCTSTR ProfileName, LPWSTR* Description);
  20. BOOL IsDomainController( LPCTSTR pszServer = NULL);
  21. extern CRITICAL_SECTION csOpenDatabase;
  22. #define OPEN_PROFILE_ANALYSIS 0
  23. #define OPEN_PROFILE_LOCALPOL 1
  24. #define OPEN_PROFILE_CONFIGURE 2
  25. #endif