1 #![allow(dead_code)] 2 //! Standard clipboard formats. 3 //! 4 //! Header: Winuser.h 5 //! 6 //! Description is taken from [Standard Clipboard Formats](https://msdn.microsoft.com/en-us/library/windows/desktop/ff729168%28v=vs.85%29.aspx) 7 8 use winapi::um::winuser; 9 10 ///A handle to a bitmap (HBITMAP). 11 pub const CF_BITMAP: u32 = winuser::CF_BITMAP; 12 ///A memory object containing a <b>BITMAPINFO</b> structure followed by the bitmap bits. 13 pub const CF_DIB: u32 = winuser::CF_DIB; 14 ///A memory object containing a <b>BITMAPV5HEADER</b> structure followed by the bitmap color space 15 ///information and the bitmap bits. 16 pub const CF_DIBV5: u32 = winuser::CF_DIBV5; 17 ///Software Arts' Data Interchange Format. 18 pub const CF_DIF: u32 = winuser::CF_DIF; 19 ///Bitmap display format associated with a private format. The hMem parameter must be a handle to 20 ///data that can be displayed in bitmap format in lieu of the privately formatted data. 21 pub const CF_DSPBITMAP: u32 = winuser::CF_DSPBITMAP; 22 ///Enhanced metafile display format associated with a private format. The *hMem* parameter must be a 23 ///handle to data that can be displayed in enhanced metafile format in lieu of the privately 24 ///formatted data. 25 pub const CF_DSPENHMETAFILE: u32 = winuser::CF_DSPENHMETAFILE; 26 ///Metafile-picture display format associated with a private format. The hMem parameter must be a 27 ///handle to data that can be displayed in metafile-picture format in lieu of the privately 28 ///formatted data. 29 pub const CF_DSPMETAFILEPICT: u32 = winuser::CF_DSPMETAFILEPICT; 30 ///Text display format associated with a private format. The *hMem* parameter must be a handle to 31 ///data that can be displayed in text format in lieu of the privately formatted data. 32 pub const CF_DSPTEXT: u32 = winuser::CF_DSPTEXT; 33 ///A handle to an enhanced metafile (<b>HENHMETAFILE</b>). 34 pub const CF_ENHMETAFILE: u32 = winuser::CF_ENHMETAFILE; 35 ///Start of a range of integer values for application-defined GDI object clipboard formats. 36 pub const CF_GDIOBJFIRST: u32 = winuser::CF_GDIOBJFIRST; 37 ///End of a range of integer values for application-defined GDI object clipboard formats. 38 pub const CF_GDIOBJLAST: u32 = winuser::CF_GDIOBJLAST; 39 ///A handle to type <b>HDROP</b> that identifies a list of files. 40 pub const CF_HDROP: u32 = winuser::CF_HDROP; 41 ///The data is a handle to the locale identifier associated with text in the clipboard. 42 /// 43 ///For details see [Standart Clipboard Formats](https://msdn.microsoft.com/en-us/library/windows/desktop/ff729168%28v=vs.85%29.aspx) 44 pub const CF_LOCALE: u32 = winuser::CF_LOCALE; 45 ///Handle to a metafile picture format as defined by the <b>METAFILEPICT</b> structure. 46 pub const CF_METAFILEPICT: u32 = winuser::CF_METAFILEPICT; 47 ///Text format containing characters in the OEM character set. 48 pub const CF_OEMTEXT: u32 = winuser::CF_OEMTEXT; 49 ///Owner-display format. 50 /// 51 ///For details see [Standart Clipboard Formats](https://msdn.microsoft.com/en-us/library/windows/desktop/ff729168%28v=vs.85%29.aspx) 52 pub const CF_OWNERDISPLAY: u32 = winuser::CF_OWNERDISPLAY; 53 ///Handle to a color palette. 54 /// 55 ///For details see [Standart Clipboard Formats](https://msdn.microsoft.com/en-us/library/windows/desktop/ff729168%28v=vs.85%29.aspx) 56 pub const CF_PALETTE: u32 = winuser::CF_PALETTE; 57 ///Data for the pen extensions to the Microsoft Windows for Pen Computing. 58 pub const CF_PENDATA: u32 = winuser::CF_PENDATA; 59 ///Start of a range of integer values for private clipboard formats. 60 pub const CF_PRIVATEFIRST: u32 = winuser::CF_PRIVATEFIRST; 61 ///End of a range of integer values for private clipboard formats. 62 pub const CF_PRIVATELAST: u32 = winuser::CF_PRIVATELAST; 63 ///Represents audio data more complex than can be represented in a ```CF_WAVE``` standard wave format. 64 pub const CF_RIFF: u32 = winuser::CF_RIFF; 65 ///Microsoft Symbolic Link (SYLK) format. 66 pub const CF_SYLK: u32 = winuser::CF_SYLK; 67 ///ANSI text format. 68 pub const CF_TEXT: u32 = winuser::CF_TEXT; 69 ///Tagged-image file format. 70 pub const CF_TIFF: u32 = winuser::CF_TIFF; 71 ///UTF16 text format. 72 pub const CF_UNICODETEXT: u32 = winuser::CF_UNICODETEXT; 73 ///Represents audio data in one of the standard wave formats. 74 pub const CF_WAVE: u32 = winuser::CF_WAVE; 75