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.

65 lines
1.1 KiB

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