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.

54 lines
1.5 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1994-1997 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: wndinfo.h
  6. * Content: Direct Draw window information structure
  7. * History:
  8. * Date By Reason
  9. * ==== == ======
  10. * 08-jul-95 craige initial implementation
  11. * 18-jul-95 craige keep track of dsound/ddraw hooks with flags
  12. * 13-aug-95 toddla added WININFO_ACTIVELIE
  13. * 09-sep-95 toddla added WININFO_INACTIVATEAPP
  14. * 17-may-96 colinmc Bug 23029: Removed WININFO_WASICONIC
  15. *
  16. ***************************************************************************/
  17. #ifndef __WNDINFO_INCLUDED__
  18. #define __WNDINFO_INCLUDED__
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22. typedef struct _DDWINDOWINFO
  23. {
  24. DWORD dwSmag;
  25. struct _DDWINDOWINFO *lpLink;
  26. WNDPROC lpDSoundCallback;
  27. HWND hWnd;
  28. WNDPROC lpWndProc;
  29. DWORD dwPid;
  30. DWORD dwFlags;
  31. struct
  32. {
  33. LPDDRAWI_DIRECTDRAW_LCL lpDD_lcl;
  34. DWORD dwDDFlags;
  35. } DDInfo;
  36. } DDWINDOWINFO, *LPDDWINDOWINFO;
  37. #define WININFO_MAGIC 0x42954295l
  38. #define WININFO_DDRAWHOOKED 0x00000001l
  39. #define WININFO_DSOUNDHOOKED 0x00000002l
  40. #define WININFO_ZOMBIE 0x00000008l
  41. #define WININFO_UNHOOK 0x00000010l
  42. #define WININFO_IGNORENEXTALTTAB 0x00000020l
  43. #define WININFO_SELFSIZE 0x00000040l
  44. #define WININFO_INACTIVATEAPP 0x00000080l
  45. #ifdef __cplusplus
  46. };
  47. #endif
  48. #endif