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.

66 lines
1.1 KiB

  1. #include "multimediapch.h"
  2. #pragma hdrstop
  3. #include <ddraw.h>
  4. static
  5. HRESULT
  6. WINAPI
  7. DirectDrawCreate(
  8. GUID FAR *lpGUID,
  9. LPDIRECTDRAW FAR *lplpDD,
  10. IUnknown FAR *pUnkOuter
  11. )
  12. {
  13. return DDERR_GENERIC;
  14. }
  15. static
  16. HRESULT
  17. WINAPI
  18. DirectDrawEnumerateExW(
  19. LPDDENUMCALLBACKEXW lpCallback,
  20. LPVOID lpContext,
  21. DWORD dwFlags
  22. )
  23. {
  24. return DDERR_GENERIC;
  25. }
  26. static
  27. HRESULT
  28. WINAPI
  29. DirectDrawEnumerateExA(
  30. LPDDENUMCALLBACKEXA lpCallback,
  31. LPVOID lpContext,
  32. DWORD dwFlags
  33. )
  34. {
  35. return DDERR_GENERIC;
  36. }
  37. static
  38. HRESULT
  39. WINAPI
  40. DirectDrawCreateEx(
  41. GUID FAR * lpGuid,
  42. LPVOID *lplpDD,
  43. REFIID iid,IUnknown
  44. FAR *pUnkOuter
  45. )
  46. {
  47. return DDERR_GENERIC;
  48. }
  49. //
  50. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  51. //
  52. DEFINE_PROCNAME_ENTRIES(ddraw)
  53. {
  54. DLPENTRY(DirectDrawCreate)
  55. DLPENTRY(DirectDrawCreateEx)
  56. DLPENTRY(DirectDrawEnumerateExA)
  57. DLPENTRY(DirectDrawEnumerateExW)
  58. };
  59. DEFINE_PROCNAME_MAP(ddraw)