[ros-diffs] [rharabien] 55023: - Fix build

rharabien at svn.reactos.org rharabien at svn.reactos.org
Fri Jan 20 21:59:33 UTC 2012


Author: rharabien
Date: Fri Jan 20 21:59:33 2012
New Revision: 55023

URL: http://svn.reactos.org/svn/reactos?rev=55023&view=rev
Log:
- Fix build

Added:
    trunk/reactos/dll/win32/netshell/enumlist.h   (with props)

Added: trunk/reactos/dll/win32/netshell/enumlist.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/enumlist.h?rev=55023&view=auto
==============================================================================
--- trunk/reactos/dll/win32/netshell/enumlist.h (added)
+++ trunk/reactos/dll/win32/netshell/enumlist.h [iso-8859-1] Fri Jan 20 21:59:33 2012
@@ -1,0 +1,48 @@
+typedef struct tagGUIDStruct
+{
+    BYTE dummy; /* offset 01 is unknown */
+    GUID guid;  /* offset 02 */
+} GUIDStruct;
+
+#define PT_GUID 0x1F
+
+typedef struct tagPIDLDATA
+{
+    BYTE type;			/*00*/
+    union
+    {
+        struct tagGUIDStruct guid;
+        struct tagVALUEStruct value;
+    } u;
+} PIDLDATA, *LPPIDLDATA;
+
+typedef struct tagENUMLIST
+{
+    struct tagENUMLIST *pNext;
+    LPITEMIDLIST pidl;
+} ENUMLIST, *LPENUMLIST;
+
+class CEnumIDList:
+    public IEnumIDList
+{
+    public:
+        CEnumIDList();
+        BOOL AddToEnumList(LPITEMIDLIST pidl);
+        
+        // IUnknown
+        virtual HRESULT WINAPI QueryInterface(REFIID riid, LPVOID *ppvOut);
+        virtual ULONG WINAPI AddRef();
+        virtual ULONG WINAPI Release();
+        
+        // IEnumIDList
+        virtual HRESULT STDMETHODCALLTYPE Next(ULONG celt, LPITEMIDLIST *rgelt, ULONG *pceltFetched);
+        virtual HRESULT STDMETHODCALLTYPE Skip(ULONG celt);
+        virtual HRESULT STDMETHODCALLTYPE Reset();
+        virtual HRESULT STDMETHODCALLTYPE Clone(IEnumIDList **ppenum);
+    
+    private:
+        LONG        ref;
+        LPENUMLIST  mpFirst;
+        LPENUMLIST  mpLast;
+        LPENUMLIST  mpCurrent;
+};

Propchange: trunk/reactos/dll/win32/netshell/enumlist.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: trunk/reactos/dll/win32/netshell/enumlist.h
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Rev URL




More information about the Ros-diffs mailing list