Fixed definition of FILEDESCRIPTORW

(cherry picked from commit 33df98f204)
This commit is contained in:
akallabeth 2020-09-22 12:58:41 +02:00 committed by akallabeth
parent 270e40e92f
commit f8075d59c5
2 changed files with 32 additions and 0 deletions

View File

@ -36,6 +36,23 @@
/* Shell clipboard formats */
struct _FILEDESCRIPTORW
{
DWORD dwFlags;
CLSID clsid;
SIZEL sizel;
POINTL pointl;
DWORD dwFileAttributes;
FILETIME ftCreationTime;
FILETIME ftLastAccessTime;
FILETIME ftLastWriteTime;
DWORD nFileSizeHigh;
DWORD nFileSizeLow;
WCHAR cFileName[260];
};
typedef struct _FILEDESCRIPTORW FILEDESCRIPTORW;
/* Legacy definition, some types do not match the windows equivalent. */
struct _FILEDESCRIPTOR
{
DWORD dwFlags;

View File

@ -268,6 +268,20 @@ typedef LONG HRESULT;
typedef LONG SCODE;
typedef SCODE* PSCODE;
typedef struct _POINTL /* ptl */
{
LONG x;
LONG y;
} POINTL, *PPOINTL;
typedef struct tagSIZE
{
LONG cx;
LONG cy;
} SIZE, *PSIZE, *LPSIZE;
typedef SIZE SIZEL;
typedef struct _GUID
{
UINT32 Data1;
@ -275,6 +289,7 @@ typedef struct _GUID
UINT16 Data3;
BYTE Data4[8];
} GUID, UUID, *PGUID, *LPGUID, *LPCGUID;
typedef GUID CLSID;
typedef struct _LUID
{