VLC 4.0.0-dev
|
Macros | |
#define | COBJMACROS |
#define | INITGUID |
#define | UNICODE |
#define | WIDL_using_Windows_Storage |
#define | IID_IStorageItem IID___x_ABI_CWindows_CStorage_CIStorageItem |
#define | IID_IKnownFoldersStatics IID___x_ABI_CWindows_CStorage_CIKnownFoldersStatics |
#define | IID_IApplicationDataStatics IID___x_ABI_CWindows_CStorage_CIApplicationDataStatics |
#define | IID_IApplicationData2 IID___x_ABI_CWindows_CStorage_CIApplicationData2 |
#define | IKnownFoldersStatics_get_DocumentsLibrary(a, f) __x_ABI_CWindows_CStorage_CIKnownFoldersStatics_get_DocumentsLibrary(a,f) |
#define | IKnownFoldersStatics_get_MusicLibrary(a, f) __x_ABI_CWindows_CStorage_CIKnownFoldersStatics_get_MusicLibrary(a,f) |
#define | IKnownFoldersStatics_get_PicturesLibrary(a, f) __x_ABI_CWindows_CStorage_CIKnownFoldersStatics_get_PicturesLibrary(a,f) |
#define | IKnownFoldersStatics_get_VideosLibrary(a, f) __x_ABI_CWindows_CStorage_CIKnownFoldersStatics_get_VideosLibrary(a,f) |
#define | IStorageItem_get_Path(a, f) __x_ABI_CWindows_CStorage_CIStorageItem_get_Path(a,f) |
#define | IStorageItem_Release(a) __x_ABI_CWindows_CStorage_CIStorageItem_Release(a) |
#define | IStorageFolder_Release(a) __x_ABI_CWindows_CStorage_CIStorageFolder_Release(a) |
#define | IStorageFolder_QueryInterface(a, i, v) __x_ABI_CWindows_CStorage_CIStorageFolder_QueryInterface(a,i,v) |
#define | IKnownFoldersStatics_Release(a) __x_ABI_CWindows_CStorage_CIKnownFoldersStatics_Release(a) |
#define | IApplicationDataStatics_get_Current(a, f) __x_ABI_CWindows_CStorage_CIApplicationDataStatics_get_Current(a,f) |
#define | IApplicationData_get_LocalFolder(a, f) __x_ABI_CWindows_CStorage_CIApplicationData_get_LocalFolder(a,f) |
#define | IApplicationDataStatics_Release(a) __x_ABI_CWindows_CStorage_CIApplicationDataStatics_Release(a) |
#define | IApplicationData_Release(a) __x_ABI_CWindows_CStorage_CIApplicationData_Release(a) |
#define | IApplicationData_QueryInterface(a, i, v) __x_ABI_CWindows_CStorage_CIApplicationData_QueryInterface(a,i,v) |
#define | IApplicationData2_get_LocalCacheFolder(a, f) __x_ABI_CWindows_CStorage_CIApplicationData2_get_LocalCacheFolder(a,f) |
#define | IApplicationData2_Release(a) __x_ABI_CWindows_CStorage_CIApplicationData2_Release(a) |
Typedefs | |
typedef __x_ABI_CWindows_CStorage_CIStorageFolder | IStorageFolder |
typedef __x_ABI_CWindows_CStorage_CIStorageItem | IStorageItem |
typedef __x_ABI_CWindows_CStorage_CIKnownFoldersStatics | IKnownFoldersStatics |
typedef __x_ABI_CWindows_CStorage_CIApplicationDataStatics | IApplicationDataStatics |
typedef __x_ABI_CWindows_CStorage_CIApplicationData | IApplicationData |
typedef __x_ABI_CWindows_CStorage_CIApplicationData2 | IApplicationData2 |
Functions | |
static char * | GetFolderName (IStorageFolder *folder) |
static char * | config_GetShellDir (vlc_userdir_t csidl) |
static char * | config_GetDataDir (void) |
char * | config_GetSysPath (vlc_sysdir_t type, const char *filename) |
Gets an installation directory. More... | |
static char * | config_GetAppDir (void) |
static char * | config_GetCacheDir (void) |
char * | config_GetUserDir (vlc_userdir_t type) |
#define COBJMACROS |
#define IApplicationData2_get_LocalCacheFolder | ( | a, | |
f | |||
) | __x_ABI_CWindows_CStorage_CIApplicationData2_get_LocalCacheFolder(a,f) |
#define IApplicationData2_Release | ( | a | ) | __x_ABI_CWindows_CStorage_CIApplicationData2_Release(a) |
#define IApplicationData_get_LocalFolder | ( | a, | |
f | |||
) | __x_ABI_CWindows_CStorage_CIApplicationData_get_LocalFolder(a,f) |
#define IApplicationData_QueryInterface | ( | a, | |
i, | |||
v | |||
) | __x_ABI_CWindows_CStorage_CIApplicationData_QueryInterface(a,i,v) |
#define IApplicationData_Release | ( | a | ) | __x_ABI_CWindows_CStorage_CIApplicationData_Release(a) |
#define IApplicationDataStatics_get_Current | ( | a, | |
f | |||
) | __x_ABI_CWindows_CStorage_CIApplicationDataStatics_get_Current(a,f) |
#define IApplicationDataStatics_Release | ( | a | ) | __x_ABI_CWindows_CStorage_CIApplicationDataStatics_Release(a) |
#define IID_IApplicationData2 IID___x_ABI_CWindows_CStorage_CIApplicationData2 |
#define IID_IApplicationDataStatics IID___x_ABI_CWindows_CStorage_CIApplicationDataStatics |
#define IID_IKnownFoldersStatics IID___x_ABI_CWindows_CStorage_CIKnownFoldersStatics |
#define IID_IStorageItem IID___x_ABI_CWindows_CStorage_CIStorageItem |
#define IKnownFoldersStatics_get_DocumentsLibrary | ( | a, | |
f | |||
) | __x_ABI_CWindows_CStorage_CIKnownFoldersStatics_get_DocumentsLibrary(a,f) |
#define IKnownFoldersStatics_get_MusicLibrary | ( | a, | |
f | |||
) | __x_ABI_CWindows_CStorage_CIKnownFoldersStatics_get_MusicLibrary(a,f) |
#define IKnownFoldersStatics_get_PicturesLibrary | ( | a, | |
f | |||
) | __x_ABI_CWindows_CStorage_CIKnownFoldersStatics_get_PicturesLibrary(a,f) |
#define IKnownFoldersStatics_get_VideosLibrary | ( | a, | |
f | |||
) | __x_ABI_CWindows_CStorage_CIKnownFoldersStatics_get_VideosLibrary(a,f) |
#define IKnownFoldersStatics_Release | ( | a | ) | __x_ABI_CWindows_CStorage_CIKnownFoldersStatics_Release(a) |
#define INITGUID |
#define IStorageFolder_QueryInterface | ( | a, | |
i, | |||
v | |||
) | __x_ABI_CWindows_CStorage_CIStorageFolder_QueryInterface(a,i,v) |
#define IStorageFolder_Release | ( | a | ) | __x_ABI_CWindows_CStorage_CIStorageFolder_Release(a) |
#define IStorageItem_get_Path | ( | a, | |
f | |||
) | __x_ABI_CWindows_CStorage_CIStorageItem_get_Path(a,f) |
#define IStorageItem_Release | ( | a | ) | __x_ABI_CWindows_CStorage_CIStorageItem_Release(a) |
#define UNICODE |
#define WIDL_using_Windows_Storage |
typedef __x_ABI_CWindows_CStorage_CIApplicationData IApplicationData |
typedef __x_ABI_CWindows_CStorage_CIApplicationData2 IApplicationData2 |
typedef __x_ABI_CWindows_CStorage_CIApplicationDataStatics IApplicationDataStatics |
typedef __x_ABI_CWindows_CStorage_CIKnownFoldersStatics IKnownFoldersStatics |
typedef __x_ABI_CWindows_CStorage_CIStorageFolder IStorageFolder |
typedef __x_ABI_CWindows_CStorage_CIStorageItem IStorageItem |
|
static |
|
inlinestatic |
References config_GetAppDir().
Referenced by config_GetUserDir().
|
static |
References getenv(), and strdup().
Referenced by config_GetSysPath().
|
static |
References GetFolderName(), HRESULT(), IID_IKnownFoldersStatics, IKnownFoldersStatics_get_DocumentsLibrary, IKnownFoldersStatics_get_MusicLibrary, IKnownFoldersStatics_get_PicturesLibrary, IKnownFoldersStatics_get_VideosLibrary, IKnownFoldersStatics_Release, vlc_assert_unreachable, VLC_HOME_DIR, VLC_MUSIC_DIR, VLC_PICTURES_DIR, and VLC_VIDEOS_DIR.
Referenced by config_GetUserDir().
|
static |
References HRESULT(), IID_IStorageItem, IStorageFolder_QueryInterface, IStorageFolder_Release, IStorageItem_get_Path, IStorageItem_Release, and PCWSTR.
Referenced by config_GetAppDir(), and config_GetShellDir().