Add private prototypes. Don't contribute them to MinGW!

svn path=/trunk/; revision=9183
This commit is contained in:
Eric Kohl 2004-04-19 10:50:19 +00:00
parent 4debbe40cc
commit 0441662dd1

View file

@ -36,10 +36,14 @@ typedef struct _PROFILEINFOW
HANDLE hProfile;
} PROFILEINFOW, *LPPROFILEINFOW;
/* begin private */
BOOL WINAPI InitializeProfiles (VOID);
BOOL WINAPI CreateUserProfileA (PSID, LPCSTR);
BOOL WINAPI CreateUserProfileW (PSID, LPCWSTR);
BOOL WINAPI LoadUserProfileA(HANDLE, LPPROFILEINFOA);
BOOL WINAPI LoadUserProfileW(HANDLE, LPPROFILEINFOW);
BOOL WINAPI UnloadUserProfile(HANDLE, HANDLE);
/* end private */
BOOL WINAPI LoadUserProfileA (HANDLE, LPPROFILEINFOA);
BOOL WINAPI LoadUserProfileW (HANDLE, LPPROFILEINFOW);
BOOL WINAPI UnloadUserProfile (HANDLE, HANDLE);
BOOL WINAPI GetAllUsersProfileDirectoryA (LPSTR, LPDWORD);
BOOL WINAPI GetAllUsersProfileDirectoryW (LPWSTR, LPDWORD);
@ -56,6 +60,9 @@ BOOL WINAPI DestroyEnvironmentBlock(LPVOID);
#ifdef UNICODE
typedef PROFILEINFOW PROFILEINFO;
typedef LPPROFILEINFOW LPPROFILEINFO;
/* begin private */
#define CreateUserProfile CreateuserProfileW
/* end private */
#define LoadUserProfile LoadUserProfileW
#define GetAllUsersProfileDirectory GetAllUsersProfileDirectoryW
#define GetDefaultUserProfileDirectory GetDefaultUserProfileDirectoryW
@ -64,6 +71,9 @@ typedef LPPROFILEINFOW LPPROFILEINFO;
#else
typedef PROFILEINFOA PROFILEINFO;
typedef LPPROFILEINFOA LPPROFILEINFO;
/* begin private */
#define CreateUserProfile CreateuserProfileA
/* end private */
#define LoadUserProfile LoadUserProfileA
#define GetAllUsersProfileDirectory GetAllUsersProfileDirectoryA
#define GetDefaultUserProfileDirectory GetDefaultUserProfileDirectoryA