Source code of Windows XP (NT5)
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.

31 lines
1.0 KiB

  1. /*++
  2. *
  3. * WOW v1.0
  4. *
  5. * Copyright (c) 1991, Microsoft Corporation
  6. *
  7. * WCURCASH.H
  8. * WOW32 Cursor & Icon cash worker routines.
  9. *
  10. * History:
  11. * Created on Jan 27th-93 by ChandanC
  12. *
  13. --*/
  14. typedef struct _CURICON {
  15. struct _CURICON *pNext; // pointer to next hDDE alias
  16. DWORD lpszIcon; // name of resource
  17. HICON16 hIcon16; // 16 bit handle of the Icon/Cursor given to app
  18. HICON16 hRes16; // 16 bit handle of the resource
  19. WORD ResType; // type of resource, ie RT_ICON or RT_CURSOR
  20. HAND16 hInst; // instance handle that owns the resource
  21. DWORD dwThreadID; // ID of the thread
  22. } CURICON, *PCURICON;
  23. HICON16 W32CheckWOWCashforIconCursors(VPVOID pData, WORD ResType);
  24. BOOL W32AddCursorIconCash (WORD hInst, LPSTR psz1, HICON16 hIcon16, HICON16 hRes16, WORD ResType);
  25. HICON16 W32FindCursorIcon (WORD hInst, LPSTR psz, WORD ResType, HICON16 *phRes16);
  26. VOID W32DeleteCursorIconCash (HICON16 hRes16);
  27. VOID W32DeleteCursorIconCashForTask ();