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.

49 lines
734 B

  1. //
  2. // Copyright (c) Microsoft Corporation
  3. //
  4. #include "basepch.h"
  5. #include "dloadexcept.h"
  6. #pragma hdrstop
  7. #include <cscapi.h>
  8. VOID
  9. WINAPI
  10. DelayLoad_SetLastNtStatusAndWin32Error(
  11. );
  12. static
  13. BOOL
  14. WINAPI
  15. CSCIsCSCEnabled(
  16. VOID
  17. )
  18. {
  19. return FALSE;
  20. }
  21. static
  22. BOOL
  23. WINAPI
  24. CSCQueryFileStatusW(
  25. LPCWSTR lpszFileName,
  26. LPDWORD lpdwStatus,
  27. LPDWORD lpdwPinCount,
  28. LPDWORD lpdwHintFlags
  29. )
  30. {
  31. DelayLoad_SetLastNtStatusAndWin32Error();
  32. return FALSE;
  33. }
  34. //
  35. // !! WARNING !! The entries below must be in order by ORDINAL
  36. //
  37. DEFINE_ORDINAL_ENTRIES(cscdll)
  38. {
  39. DLOENTRY(9, CSCIsCSCEnabled)
  40. DLOENTRY(42, CSCQueryFileStatusW)
  41. };
  42. DEFINE_ORDINAL_MAP(cscdll)