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.

69 lines
1.1 KiB

  1. #include "windowspch.h"
  2. #pragma hdrstop
  3. #include <oleacc.h>
  4. static
  5. LRESULT
  6. STDAPICALLTYPE
  7. LresultFromObject(
  8. REFIID riid,
  9. WPARAM wParam,
  10. LPUNKNOWN punk
  11. )
  12. {
  13. return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
  14. }
  15. static
  16. HRESULT
  17. STDAPICALLTYPE
  18. AccessibleObjectFromWindow(
  19. HWND hwnd,
  20. DWORD dwId,
  21. REFIID riid,
  22. void **ppvObject
  23. )
  24. {
  25. return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
  26. }
  27. static
  28. UINT
  29. STDAPICALLTYPE
  30. GetRoleTextW(
  31. DWORD lRole,
  32. LPWSTR lpszRole,
  33. UINT cchRoleMax)
  34. {
  35. return 0;
  36. }
  37. static
  38. HRESULT
  39. STDAPICALLTYPE
  40. CreateStdAccessibleObject(
  41. HWND hwnd,
  42. LONG idObject,
  43. REFIID riid,
  44. void** ppvObject
  45. )
  46. {
  47. *ppvObject = NULL;
  48. return E_FAIL;
  49. }
  50. //
  51. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  52. //
  53. DEFINE_PROCNAME_ENTRIES(oleacc)
  54. {
  55. DLPENTRY(AccessibleObjectFromWindow)
  56. DLPENTRY(CreateStdAccessibleObject)
  57. DLPENTRY(GetRoleTextW)
  58. DLPENTRY(LresultFromObject)
  59. };
  60. DEFINE_PROCNAME_MAP(oleacc)