[vlc-commits] win32: dirs: Ensure GUID get defined

Hugo Beauzée-Luyssen git at videolan.org
Mon May 16 17:45:03 CEST 2016


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon May 16 17:42:24 2016 +0200| [12ae9e0fd0c2360fba29be8cebfef693e0ab24fa] | committer: Hugo Beauzée-Luyssen

win32: dirs: Ensure GUID get defined

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=12ae9e0fd0c2360fba29be8cebfef693e0ab24fa
---

 src/win32/dirs.c |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/win32/dirs.c b/src/win32/dirs.c
index c5a51f5..23fef44 100644
--- a/src/win32/dirs.c
+++ b/src/win32/dirs.c
@@ -25,6 +25,9 @@
 # include "config.h"
 #endif
 
+#define COBJMACROS
+#define INITGUID
+
 #ifndef UNICODE
 #define UNICODE
 #endif
@@ -45,16 +48,10 @@
 #include <limits.h>
 
 #if VLC_WINSTORE_APP
-#define COBJMACROS
-#define INITGUID
 #include <winstring.h>
 #include <windows.storage.h>
 #include <roapi.h>
 
-DEFINE_GUID(IID_IStorageItem, 0x4207a996, 0xca2f, 0x42f7, 0xbd, 0xe8, 0x8b, 0x10, 0x45, 0x7a, 0x7f, 0x30);
-DEFINE_GUID(IID_IApplicationDataStatics, 0x5612147b, 0xe843, 0x45e3, 0x94, 0xd8, 0x06, 0x16, 0x9e, 0x3c, 0x8e, 0x17);
-DEFINE_GUID(IID_IKnownFoldersStatics, 0x5a2a7520, 0x4802, 0x452d, 0x9a, 0xd9, 0x43, 0x51, 0xad, 0xa7, 0xec, 0x35);
-
 static HRESULT WinRTSHGetFolderPath(HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath)
 {
     VLC_UNUSED(hwnd);



More information about the vlc-commits mailing list