Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
528a21a0
Commit
528a21a0
authored
Jan 09, 2004
by
Jon Lech Johansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./src/misc/configuration.c: win32 UNICODE fixes.
parent
1940820e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
src/misc/configuration.c
src/misc/configuration.c
+9
-6
No files found.
src/misc/configuration.c
View file @
528a21a0
...
...
@@ -2,7 +2,7 @@
* configuration.c management of the modules configuration
*****************************************************************************
* Copyright (C) 2001-2004 VideoLAN
* $Id: configuration.c,v 1.7
2 2004/01/06 12:02:06 zorglub
Exp $
* $Id: configuration.c,v 1.7
3 2004/01/09 19:45:46 jlj
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -53,8 +53,11 @@
#if defined( HAVE_SYS_TYPES_H )
# include <sys/types.h>
#endif
#if defined( WIN32 ) && !defined( UNDER_CE )
# include <direct.h>
#if defined( WIN32 )
# if !defined( UNDER_CE )
# include <direct.h>
# endif
#include <tchar.h>
#endif
...
...
@@ -1505,7 +1508,7 @@ char *config_GetHomeDir( void )
#if defined(WIN32) || defined(UNDER_CE)
typedef
HRESULT
(
WINAPI
*
SHGETFOLDERPATH
)(
HWND
,
int
,
HANDLE
,
DWORD
,
LP
T
STR
);
LPSTR
);
# define CSIDL_FLAG_CREATE 0x8000
# define CSIDL_APPDATA 0x1A
# define SHGFP_TYPE_CURRENT 0
...
...
@@ -1514,10 +1517,10 @@ char *config_GetHomeDir( void )
SHGETFOLDERPATH
SHGetFolderPath
;
/* load the shfolder dll to retrieve SHGetFolderPath */
if
(
(
shfolder_dll
=
LoadLibrary
(
"shfolder.dll"
)
)
!=
NULL
)
if
(
(
shfolder_dll
=
LoadLibrary
(
_T
(
"SHFolder.dll"
)
)
)
!=
NULL
)
{
SHGetFolderPath
=
(
void
*
)
GetProcAddress
(
shfolder_dll
,
"SHGetFolderPathA"
);
_T
(
"SHGetFolderPathA"
)
);
if
(
SHGetFolderPath
!=
NULL
)
{
p_homedir
=
(
char
*
)
malloc
(
MAX_PATH
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment