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.

73 lines
1.6 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1995 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: 16to32.thk
  6. * Content: DirectDraw engine thunk script for having DDRAW16.DLL call
  7. * DDRAW.DLL
  8. *@@BEGIN_MSINTERNAL
  9. * History:
  10. * Date By Reason
  11. * ==== == ======
  12. * 21-jan-95 craige initial implementation
  13. * 11-mar-95 craige hold the win16 lock
  14. * 19-jun-95 craige added StreamingNotify
  15. * 22-jun-95 craige added ClippingNotify
  16. * 02-jul-95 craige comment out streaming and clipper notification stuff
  17. * 20-jul-95 craige internal reorg to prevent thunking during modeset
  18. * 31-oct-97 johnstep Added DD32_HandleExternalModeChange
  19. *@@END_MSINTERNAL
  20. *
  21. ***************************************************************************/
  22. __foldwin32sstuff __foldwin32sstuff;
  23. preload32=true;
  24. defaultholdwin16lock = true;
  25. enablemapdirect1632 = true;
  26. #include "types.h"
  27. //DWORD DDHAL32_Create(
  28. // LPDDHALINFO lpEngInfo,
  29. // BOOL )
  30. //{
  31. // lpEngInfo = input;
  32. // faulterrorcode = 0xFFFFFFFF;
  33. //}
  34. DWORD DDHAL32_VidMemAlloc(
  35. DWORD this,
  36. int heap,
  37. DWORD width,
  38. DWORD height )
  39. {
  40. faulterrorcode = 0;
  41. }
  42. DWORD DDHAL32_VidMemFree(
  43. DWORD this,
  44. int heap,
  45. DWORD ptr )
  46. {
  47. faulterrorcode = 0xFFFFFFFF;
  48. }
  49. //DWORD DD32_StreamingNotify(
  50. // DWORD this )
  51. //{
  52. // faulterrorcode = 0xFFFFFFFF;
  53. //}
  54. //void DD32_ClippingNotify(
  55. // DWORD lpww,
  56. // DWORD code )
  57. //{
  58. //}
  59. //void DD32_WWClose( DWORD lpww )
  60. //{
  61. //}
  62. //BOOL DD32_HandleExternalModeChange(LPDEVMODE pModeInfo)
  63. //{
  64. //}