home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l350 / 3.ddi / EXAMPLES / WINDOWS / WINCLIP.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-29  |  921 b   |  31 lines

  1. /*  
  2. WINCLIP.H -- Windows Clipboard access -- definition 
  3. 386|DOS Extender functions for Windows 3.x (Enhanced) 
  4. Clipboard 
  5. */ 
  6.  
  7. #ifndef PLTYPES
  8. #include <pltypes.h>
  9. #endif
  10.  
  11. /* predefined clipboard formats */ 
  12. typedef enum { CF_TEXT=1, CF_BITMAP, CF_METAFILEPICT, CF_SYLK,  
  13.     CF_DIF, CF_TIFF, CF_OEMTEXT 
  14.     } CF_FORMAT; 
  15.  
  16. int WinOldApVersion(int *maj, int *min); 
  17. unsigned GetDeviceCaps(unsigned cap); 
  18. int OpenClipboard(void); 
  19. void EmptyClipboard(void); 
  20. unsigned long GetClipboardSize(CF_FORMAT format); 
  21. REALPTR GetClipboardData(CF_FORMAT format); 
  22. void CloseClipboard(void); 
  23. void FreeClipboardData(REALPTR RealBufp);
  24. int SetClipboardData(void *data, CF_FORMAT format, unsigned long size); 
  25. unsigned long CompactClipboard(unsigned long desire); 
  26.  
  27. int PutClipStrLen(char *s, unsigned len); 
  28. int PutClipString(char *s); 
  29. char *GetClipString(void); 
  30. void FreeClipString(char *s); 
  31.