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.

57 lines
1.8 KiB

  1. /*++ BUILD Version: 0001
  2. *
  3. * WOW v1.0
  4. *
  5. * Copyright (c) 1991, Microsoft Corporation
  6. *
  7. * WUCLIP.H
  8. * WOW32 16-bit User API support
  9. *
  10. * History:
  11. * Created 07-Mar-1991 by Jeff Parsons (jeffpar)
  12. --*/
  13. ULONG FASTCALL WU32ChangeClipboardChain(PVDMFRAME pFrame);
  14. ULONG FASTCALL WU32CloseClipboard(PVDMFRAME pFrame);
  15. ULONG FASTCALL WU32CountClipboardFormats(PVDMFRAME pFrame);
  16. ULONG FASTCALL WU32EmptyClipboard(PVDMFRAME pFrame);
  17. ULONG FASTCALL WU32EnumClipboardFormats(PVDMFRAME pFrame);
  18. ULONG FASTCALL WU32GetClipboardData(PVDMFRAME pFrame);
  19. ULONG FASTCALL WU32GetClipboardFormatName(PVDMFRAME pFrame);
  20. ULONG FASTCALL WU32GetClipboardOwner(PVDMFRAME pFrame);
  21. ULONG FASTCALL WU32GetClipboardViewer(PVDMFRAME pFrame);
  22. ULONG FASTCALL WU32GetPriorityClipboardFormat(PVDMFRAME pFrame);
  23. ULONG FASTCALL WU32IsClipboardFormatAvailable(PVDMFRAME pFrame);
  24. ULONG FASTCALL WU32OpenClipboard(PVDMFRAME pFrame);
  25. ULONG FASTCALL WU32RegisterClipboardFormat(PVDMFRAME pFrame);
  26. ULONG FASTCALL WU32SetClipboardData(PVDMFRAME pFrame);
  27. ULONG FASTCALL WU32SetClipboardViewer(PVDMFRAME pFrame);
  28. ULONG WU32ICBRenderFormat (WORD wFormat);
  29. HMEM16 WU32ICBGetHandle(WORD wFormat);
  30. VOID WU32ICBStoreHandle(WORD wFormat, HMEM16 hMem16);
  31. VOID W32EmptyClipboard (void);
  32. VOID InitCBFormats (void);
  33. HGLOBAL W32ConvertObjDescriptor(HANDLE hMem, UINT flag);
  34. typedef struct _CBNODE {
  35. WORD Id;
  36. HMEM16 hMem16;
  37. struct _CBNODE *Next;
  38. } CBNODE, *PCBNODE;
  39. typedef struct _CBFORMATS {
  40. WORD Pre1[13];
  41. WORD Pre2[4];
  42. WORD hmem16Drop; // for the CF_HDROP support
  43. struct _CBNODE *NewFormats;
  44. } CBFORMATS;
  45. #define CFOLE_UNICODE_TO_ANSI 0
  46. #define CFOLE_ANSI_TO_UNICODE 1
  47. #define WOW_OLE_STRINGCONVERSION 0
  48. #define WOW_OLESTRINGCONVERSION_COUNT 1