Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
58774c32
Commit
58774c32
authored
May 21, 2013
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Winstore app: don't use GetModuleFileName
parent
509e832b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/win32/dirs.c
src/win32/dirs.c
+4
-0
No files found.
src/win32/dirs.c
View file @
58774c32
...
@@ -42,6 +42,9 @@
...
@@ -42,6 +42,9 @@
char
*
config_GetLibDir
(
void
)
char
*
config_GetLibDir
(
void
)
{
{
#if VLC_WINSTORE_APP
return
NULL
;
#else
/* Get our full path */
/* Get our full path */
MEMORY_BASIC_INFORMATION
mbi
;
MEMORY_BASIC_INFORMATION
mbi
;
if
(
!
VirtualQuery
(
config_GetLibDir
,
&
mbi
,
sizeof
(
mbi
)))
if
(
!
VirtualQuery
(
config_GetLibDir
,
&
mbi
,
sizeof
(
mbi
)))
...
@@ -59,6 +62,7 @@ char *config_GetLibDir (void)
...
@@ -59,6 +62,7 @@ char *config_GetLibDir (void)
return
FromWide
(
wpath
);
return
FromWide
(
wpath
);
error:
error:
abort
();
abort
();
#endif
}
}
char
*
config_GetDataDir
(
void
)
char
*
config_GetDataDir
(
void
)
...
...
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