mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:05:48 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
52
base/applications/clipbrd/fileutils.h
Normal file
52
base/applications/clipbrd/fileutils.h
Normal file
|
@ -0,0 +1,52 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Clipboard Viewer
|
||||
* FILE: base/applications/clipbrd/fileutils.h
|
||||
* PURPOSE: Clipboard file format helper functions.
|
||||
* PROGRAMMERS: Ricardo Hanke
|
||||
* Hermes Belusca-Maito
|
||||
*/
|
||||
|
||||
#define CLIP_FMT_31 0xC350
|
||||
#define CLIP_FMT_NT 0xC351
|
||||
#define CLIP_FMT_BK 0xC352
|
||||
#define MAX_FMT_NAME_LEN 79
|
||||
|
||||
/*
|
||||
* Win3.1 Clipboard File Format (default)
|
||||
*/
|
||||
#pragma pack(push, 1)
|
||||
typedef struct _CLIPFILEHEADER
|
||||
{
|
||||
WORD wFileIdentifier;
|
||||
WORD wFormatCount;
|
||||
} CLIPFILEHEADER;
|
||||
|
||||
typedef struct _CLIPFORMATHEADER
|
||||
{
|
||||
WORD dwFormatID;
|
||||
DWORD dwLenData;
|
||||
DWORD dwOffData;
|
||||
CHAR szName[MAX_FMT_NAME_LEN];
|
||||
} CLIPFORMATHEADER;
|
||||
#pragma pack(pop)
|
||||
|
||||
/*
|
||||
* NT Clipboard File Format
|
||||
*/
|
||||
typedef struct _NTCLIPFILEHEADER
|
||||
{
|
||||
WORD wFileIdentifier;
|
||||
WORD wFormatCount;
|
||||
} NTCLIPFILEHEADER;
|
||||
|
||||
typedef struct _NTCLIPFORMATHEADER
|
||||
{
|
||||
DWORD dwFormatID;
|
||||
DWORD dwLenData;
|
||||
DWORD dwOffData;
|
||||
WCHAR szName[MAX_FMT_NAME_LEN];
|
||||
} NTCLIPFORMATHEADER;
|
||||
|
||||
void ReadClipboardFile(LPCWSTR lpFileName);
|
||||
void WriteClipboardFile(LPCWSTR lpFileName, WORD wFileIdentifier);
|
Loading…
Add table
Add a link
Reference in a new issue