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.

99 lines
1.6 KiB

  1. /*****************************************************************************
  2. V C L I P B O A R D H E A D E R
  3. Name: vclpbrd.H
  4. Date: 21-Jan-1994
  5. Creator: Unknown
  6. Description:
  7. This is the header file for vclpbrd.c
  8. *****************************************************************************/
  9. #ifndef VCLPBRD_INCLUDED
  10. #define VCLPBRD_INCLUDED
  11. #define CCHMAXCLPFORMAT 79
  12. struct VClipBrdEntry {
  13. UINT Fmt;
  14. HANDLE Data;
  15. struct VClipBrdEntry * Next;
  16. };
  17. typedef struct VClipBrdEntry VCLPENTRY;
  18. typedef struct VClipBrdEntry * PVCLPENTRY;
  19. typedef struct VClipBrdEntry far * LPVCLPENTRY;
  20. struct VClipBrd {
  21. int NumFormats;
  22. BOOL fOpen;
  23. PVCLPENTRY Head;
  24. PVCLPENTRY Tail;
  25. HWND Hwnd;
  26. };
  27. typedef struct VClipBrd VCLPBRD;
  28. typedef struct VClipBrd * PVCLPBRD;
  29. typedef struct VClipBrd far * LPVCLPBRD;
  30. PVCLPBRD CreateVClipboard (
  31. HWND hwnd);
  32. BOOL DestroyVClipboard (
  33. PVCLPBRD p);
  34. int VCountClipboardFormats (
  35. PVCLPBRD p);
  36. BOOL VEmptyClipboard (
  37. PVCLPBRD p);
  38. UINT VEnumClipboardFormats(
  39. PVCLPBRD p,
  40. UINT Fmt);
  41. HANDLE VGetClipboardData(
  42. PVCLPBRD pvclp,
  43. UINT Fmt);
  44. BOOL VIsClipboardFormatAvailable(
  45. PVCLPBRD p,
  46. UINT Fmt);
  47. HANDLE VSetClipboardData(
  48. PVCLPBRD p,
  49. UINT Fmt,
  50. HANDLE Data);
  51. BOOL VOpenClipboard(
  52. PVCLPBRD p,
  53. HWND hwnd);
  54. BOOL VCloseClipboard(
  55. PVCLPBRD p);
  56. #endif