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.

30 lines
612 B

  1. #include "compch.h"
  2. #pragma hdrstop
  3. #include <windows.h>
  4. STDAPI
  5. CGMIsAdministrator(
  6. OUT BOOL *pfIsAdministrator
  7. )
  8. {
  9. if (pfIsAdministrator)
  10. *pfIsAdministrator = FALSE;
  11. return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
  12. }
  13. STDAPI SysprepComplus2()
  14. {
  15. return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
  16. }
  17. //
  18. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  19. //
  20. DEFINE_PROCNAME_ENTRIES(catsrvut)
  21. {
  22. DLPENTRY(CGMIsAdministrator)
  23. DLPENTRY(SysprepComplus2)
  24. };
  25. DEFINE_PROCNAME_MAP(catsrvut)