Mike McCormack : userenv: Add profinfo.h.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jun 13 05:59:05 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 4a2d96077e20c9e4c1008004ada4c896fe7be1ee
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=4a2d96077e20c9e4c1008004ada4c896fe7be1ee
Author: Mike McCormack <mike at codeweavers.com>
Date: Mon Jun 12 13:34:23 2006 +0900
userenv: Add profinfo.h.
---
dlls/userenv/userenv_main.c | 12 +----------
include/Makefile.in | 1 +
include/profinfo.h | 47 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 49 insertions(+), 11 deletions(-)
create mode 100644 include/profinfo.h
diff --git a/dlls/userenv/userenv_main.c b/dlls/userenv/userenv_main.c
index e5e1334..9c55874 100644
--- a/dlls/userenv/userenv_main.c
+++ b/dlls/userenv/userenv_main.c
@@ -23,6 +23,7 @@ #include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
+#include "profinfo.h"
#include "wine/debug.h"
@@ -78,17 +79,6 @@ BOOL WINAPI GetProfilesDirectoryW( LPWST
return FALSE;
}
-typedef struct _PROFILEINFOA {
- DWORD dwSize;
- DWORD dwFlags;
- LPSTR lpUserName;
- LPSTR lpProfilePath;
- LPSTR lpDefaultPath;
- LPSTR lpServerName;
- LPSTR lpPolicyPath;
- HANDLE hProfile;
-} PROFILEINFOA, *LPPROFILEINFOA;
-
BOOL WINAPI LoadUserProfileA( HANDLE hToken, LPPROFILEINFOA lpProfileInfo )
{
FIXME("%p %p\n", hToken, lpProfileInfo );
diff --git a/include/Makefile.in b/include/Makefile.in
index 49e4a0e..75d928d 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -219,6 +219,7 @@ WINDOWS_INCLUDES = \
pktdef.h \
poppack.h \
powrprof.h \
+ profinfo.h \
prsht.h \
psapi.h \
pshpack1.h \
diff --git a/include/profinfo.h b/include/profinfo.h
new file mode 100644
index 0000000..e8f4d55
--- /dev/null
+++ b/include/profinfo.h
@@ -0,0 +1,47 @@
+/*
+ * Copyright (C) 2006 Mike McCormack
+ *
+ * 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_PROFINFO_H
+#define __WINE_PROFINFO_H
+
+typedef struct _PROFILEINFOA {
+ DWORD dwSize;
+ DWORD dwFlags;
+ LPSTR lpUserName;
+ LPSTR lpProfilePath;
+ LPSTR lpDefaultPath;
+ LPSTR lpServerName;
+ LPSTR lpPolicyPath;
+ HANDLE hProfile;
+} PROFILEINFOA, *LPPROFILEINFOA;
+
+typedef struct _PROFILEINFOW {
+ DWORD dwSize;
+ DWORD dwFlags;
+ LPWSTR lpUserName;
+ LPWSTR lpProfilePath;
+ LPWSTR lpDefaultPath;
+ LPWSTR lpServerName;
+ LPWSTR lpPolicyPath;
+ HANDLE hProfile;
+} PROFILEINFOW, *LPPROFILEINFOW;
+
+DECL_WINELIB_TYPE_AW(PROFILEINFO)
+DECL_WINELIB_TYPE_AW(LPPROFILEINFO)
+
+#endif /* __WINE_PROFINFO_H */
More information about the wine-cvs
mailing list