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.

46 lines
722 B

  1. #include "dspch.h"
  2. #pragma hdrstop
  3. static
  4. HRESULT
  5. WINAPI
  6. ADsGetObject(
  7. LPCWSTR lpszPathName,
  8. REFIID riid,
  9. VOID * * ppObject
  10. )
  11. {
  12. if (ppObject)
  13. {
  14. *ppObject = NULL;
  15. }
  16. return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
  17. }
  18. static
  19. HRESULT
  20. WINAPI
  21. ADsGetLastError(
  22. OUT LPDWORD lpError,
  23. OUT LPWSTR lpErrorBuf,
  24. IN DWORD dwErrorBufLen,
  25. OUT LPWSTR lpNameBuf,
  26. IN DWORD dwNameBufLen
  27. )
  28. {
  29. return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
  30. }
  31. //
  32. // !! WARNING !! The entries below must be in order by ORDINAL
  33. //
  34. DEFINE_ORDINAL_ENTRIES(activeds)
  35. {
  36. DLOENTRY(3,ADsGetObject)
  37. DLOENTRY(13,ADsGetLastError)
  38. };
  39. DEFINE_ORDINAL_MAP(activeds)