Sync winefile's header between WINE and ReactOS.
This commit is contained in:
parent
80a84a8c74
commit
4c6ad7ffc5
|
@ -23,9 +23,6 @@
|
||||||
#include "wine/port.h"
|
#include "wine/port.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <locale.h>
|
|
||||||
|
|
||||||
#define NONAMELESSUNION
|
|
||||||
#include "winefile.h"
|
#include "winefile.h"
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2000, 2003, 2004 Martin Fuchs
|
* Copyright 2000, 2003, 2004, 2005 Martin Fuchs
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
@ -28,26 +28,34 @@
|
||||||
#define NOIMAGE
|
#define NOIMAGE
|
||||||
#define NOTAPE
|
#define NOTAPE
|
||||||
|
|
||||||
#ifdef UNICODE
|
#define NONAMELESSUNION
|
||||||
#define _UNICODE
|
|
||||||
#include <wchar.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <windowsx.h>
|
#include <windowsx.h>
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
#include <commdlg.h>
|
#include <commdlg.h>
|
||||||
#include <shellapi.h>
|
|
||||||
#include <shlobj.h>
|
#ifdef UNICODE
|
||||||
|
#define _UNICODE
|
||||||
|
#include <wchar.h>
|
||||||
|
#endif
|
||||||
|
#include <tchar.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <tchar.h>
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <locale.h>
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifndef __WINE__
|
||||||
#include <malloc.h> /* for alloca() */
|
#include <malloc.h> /* for alloca() */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <shellapi.h> /* for ShellExecute() */
|
||||||
|
#include <shlobj.h> /* for SHFormatDrive() */
|
||||||
|
|
||||||
|
#ifndef _NO_EXTENSIONS
|
||||||
|
#define _SHELL_FOLDERS
|
||||||
|
#endif /* _NO_EXTENSIONS */
|
||||||
|
|
||||||
#ifndef FILE_ATTRIBUTE_NOT_CONTENT_INDEXED
|
#ifndef FILE_ATTRIBUTE_NOT_CONTENT_INDEXED
|
||||||
#define FILE_ATTRIBUTE_ENCRYPTED 0x00000040
|
#define FILE_ATTRIBUTE_ENCRYPTED 0x00000040
|
||||||
#define FILE_ATTRIBUTE_SPARSE_FILE 0x00000200
|
#define FILE_ATTRIBUTE_SPARSE_FILE 0x00000200
|
||||||
|
@ -72,9 +80,9 @@ enum IMAGE {
|
||||||
};
|
};
|
||||||
|
|
||||||
#define IMAGE_WIDTH 16
|
#define IMAGE_WIDTH 16
|
||||||
#define IMAGE_HEIGHT 13
|
#define IMAGE_HEIGHT 13
|
||||||
#define SPLIT_WIDTH 5
|
#define SPLIT_WIDTH 5
|
||||||
#define TREE_LINE_DX 3
|
#define TREE_LINE_DX 3
|
||||||
|
|
||||||
#define IDW_STATUSBAR 0x100
|
#define IDW_STATUSBAR 0x100
|
||||||
#define IDW_TOOLBAR 0x101
|
#define IDW_TOOLBAR 0x101
|
||||||
|
@ -101,17 +109,12 @@ enum IMAGE {
|
||||||
#define Frame_CalcFrameClient(hwnd, prt) ((BOOL)SNDMSG(hwnd, FRM_CALC_CLIENT, 0, (LPARAM)(PRECT)prt))
|
#define Frame_CalcFrameClient(hwnd, prt) ((BOOL)SNDMSG(hwnd, FRM_CALC_CLIENT, 0, (LPARAM)(PRECT)prt))
|
||||||
|
|
||||||
|
|
||||||
#ifndef _NO_EXTENSIONS
|
|
||||||
#define _SHELL_FOLDERS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
HANDLE hInstance;
|
HANDLE hInstance;
|
||||||
HACCEL haccel;
|
HACCEL haccel;
|
||||||
ATOM hframeClass;
|
ATOM hframeClass;
|
||||||
HWND hwndParent;
|
HWND hwndParent;
|
||||||
|
|
||||||
HWND hMainWnd;
|
HWND hMainWnd;
|
||||||
HMENU hMenuFrame;
|
HMENU hMenuFrame;
|
||||||
|
|
Loading…
Reference in New Issue