Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
41c6d233
Commit
41c6d233
authored
Aug 09, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userenv: Add a skeleton userenv.h header and use it.
parent
93b5a0e9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
7 deletions
+57
-7
userenv_main.c
dlls/userenv/userenv_main.c
+2
-7
Makefile.in
include/Makefile.in
+1
-0
userenv.h
include/userenv.h
+54
-0
No files found.
dlls/userenv/userenv_main.c
View file @
41c6d233
...
...
@@ -23,7 +23,7 @@
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "
profinfo
.h"
#include "
userenv
.h"
#include "wine/debug.h"
...
...
@@ -103,12 +103,7 @@ BOOL WINAPI GetProfilesDirectoryW( LPWSTR lpProfilesDir, LPDWORD lpcchSize )
return
FALSE
;
}
/* FIXME: these belong in userenv.h */
#define PT_TEMPORARY 0x00000001
#define PT_ROAMING 0x00000002
#define PT_MANDATORY 0x00000004
BOOL
WINAPI
GetProfileType
(
LPDWORD
pdwFlags
)
BOOL
WINAPI
GetProfileType
(
DWORD
*
pdwFlags
)
{
FIXME
(
"%p
\n
"
,
pdwFlags
);
*
pdwFlags
=
0
;
...
...
include/Makefile.in
View file @
41c6d233
...
...
@@ -348,6 +348,7 @@ SRCDIR_INCLUDES = \
tlhelp32.h
\
tmschema.h
\
twain.h
\
userenv.h
\
usp10.h
\
uuids.h
\
uxtheme.h
\
...
...
include/userenv.h
0 → 100644
View file @
41c6d233
/*
* Copyright (C) 2007 Francois Gouget
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_USERENV_H
#define __WINE_USERENV_H
/* FIXME: #include <wbemcli.h> */
#include <profinfo.h>
#define PT_TEMPORARY 0x00000001
#define PT_ROAMING 0x00000002
#define PT_MANDATORY 0x00000004
#ifdef __cplusplus
extern
"C"
{
#endif
BOOL
WINAPI
CreateEnvironmentBlock
(
LPVOID
*
,
HANDLE
,
BOOL
);
BOOL
WINAPI
ExpandEnvironmentStringsForUserA
(
HANDLE
,
LPCSTR
,
LPSTR
,
DWORD
);
BOOL
WINAPI
ExpandEnvironmentStringsForUserW
(
HANDLE
,
LPCWSTR
,
LPWSTR
,
DWORD
);
#define ExpandEnvironmentStringsForUser WINELIB_NAME_AW(ExpandEnvironmentStringsForUser)
BOOL
WINAPI
GetUserProfileDirectoryA
(
HANDLE
,
LPSTR
,
LPDWORD
);
BOOL
WINAPI
GetUserProfileDirectoryW
(
HANDLE
,
LPWSTR
,
LPDWORD
);
#define GetUserProfileDirectory WINELIB_NAME_AW(GetUserProfileDirectory)
BOOL
WINAPI
GetProfilesDirectoryA
(
LPSTR
,
LPDWORD
);
BOOL
WINAPI
GetProfilesDirectoryW
(
LPWSTR
,
LPDWORD
);
#define GetProfilesDirectory WINELIB_NAME_AW(GetProfilesDirectory)
BOOL
WINAPI
GetProfileType
(
DWORD
*
);
BOOL
WINAPI
LoadUserProfileA
(
HANDLE
,
LPPROFILEINFOA
);
BOOL
WINAPI
LoadUserProfileW
(
HANDLE
,
LPPROFILEINFOW
);
#define LoadUserProfile WINELIB_NAME_AW(LoadUserProfile)
BOOL
WINAPI
RegisterGPNotification
(
HANDLE
,
BOOL
);
BOOL
WINAPI
UnregisterGPNotification
(
HANDLE
);
#ifdef __cplusplus
}
#endif
#endif
/* __WINE_USERENV_H */
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