shlobj.h

"Martin Fuchs" <[email protected]> Tue, 29 Jul 2003 22:19:35 +0100
Newsgroups gmane.comp.gnu.mingw.patches
Message-ID <[email protected]>
Hello,

I would like to add some missing definitions in shlobj.h for compiling explorer with MinGW.


Changelog:
add some missing definitions in shlobj.h for compiling explorer like applications


Index: include/shlobj.h
===================================================================
RCS file: /cvs/src/src/winsup/w32api/include/shlobj.h,v
retrieving revision 1.20
diff -u -p -d -r1.20 shlobj.h
--- include/shlobj.h    12 Dec 2002 09:51:38 -0000      1.20
+++ include/shlobj.h    29 Jul 2003 21:18:25 -0000
@@ -99,6 +99,10 @@ extern "C" {
 #define SFGAO_CONTENTSMASK     0x80000000L
 #define SFGAO_VALIDATE 0x01000000L
 #define SFGAO_REMOVABLE        0x02000000L
+#define SFGAO_COMPRESSED        0x04000000L
+
+typedef ULONG SFGAOF;
+
 #define STRRET_WSTR    0
 #define STRRET_OFFSET  1
 #define STRRET_CSTR    2
@@ -336,16 +340,24 @@ typedef struct _DROPFILES {
        BOOL fNC;
        BOOL fWide;
 } DROPFILES,*LPDROPFILES;
+
 typedef enum tagSHGDN {
        SHGDN_NORMAL=0,
        SHGDN_INFOLDER,
        SHGDN_FORPARSING=0x8000
 } SHGNO;
-typedef enum tagSHCONTF {
-       SHCONTF_FOLDERS=32,
-       SHCONTF_NONFOLDERS=64,
-       SHCONTF_INCLUDEHIDDEN=128
-} SHCONTF;
+
+typedef DWORD SHGDNF;
+
+typedef enum tagSHCONTF {
+       SHCONTF_FOLDERS = 32,
+       SHCONTF_NONFOLDERS = 64,
+       SHCONTF_INCLUDEHIDDEN = 128,
+       SHCONTF_INIT_ON_FIRST_NEXT = 256,
+       SHCONTF_NETPRINTERSRCH = 512,
+       SHCONTF_SHAREABLE = 1024,
+       SHCONTF_STORAGE = 2048
+} SHCONTF;
 typedef struct _STRRET {
        UINT uType;
        _ANONYMOUS_UNION union {



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01