https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d383d1c6b0bf7e4733692…
commit d383d1c6b0bf7e47336921c45ce4e020b3573517
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sat Dec 8 15:22:23 2018 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sat Dec 8 15:23:04 2018 +0100
[PSDK] Add DeleteProfileA/W prototypes to userenv.h.
---
sdk/include/psdk/userenv.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/sdk/include/psdk/userenv.h b/sdk/include/psdk/userenv.h
index 3b5054e0f1..81deda29de 100644
--- a/sdk/include/psdk/userenv.h
+++ b/sdk/include/psdk/userenv.h
@@ -108,6 +108,11 @@ BOOL WINAPI CopyProfileDirectoryW(LPCWSTR, LPCWSTR, DWORD);
PSID WINAPI GetUserSid(HANDLE);
BOOL WINAPI CopySystemProfile(ULONG);
/* end private */
+
+#if(WINVER >= 0x0500)
+BOOL WINAPI DeleteProfileA(LPCSTR, LPCSTR, LPCSTR);
+BOOL WINAPI DeleteProfileW(LPCWSTR, LPCWSTR, LPCWSTR);
+#endif
BOOL WINAPI LoadUserProfileA (HANDLE, LPPROFILEINFOA);
BOOL WINAPI LoadUserProfileW (HANDLE, LPPROFILEINFOW);
BOOL WINAPI UnloadUserProfile (HANDLE, HANDLE);
@@ -175,6 +180,9 @@ typedef LPPROFILEINFOW LPPROFILEINFO;
#define DeleteItem DeleteItemW
#define CopyProfileDirectory CopyProfileDirectoryW
/* end private */
+#if (WINVER >= 0x0500)
+#define DeleteProfile DeleteProfileW
+#endif
#define LoadUserProfile LoadUserProfileW
#define GetAllUsersProfileDirectory GetAllUsersProfileDirectoryW
#define GetDefaultUserProfileDirectory GetDefaultUserProfileDirectoryW
@@ -202,6 +210,9 @@ typedef LPPROFILEINFOA LPPROFILEINFO;
#define DeleteItem DeleteItemA
#define CopyProfileDirectory CopyProfileDirectoryA
/* end private */
+#if (WINVER >= 0x0500)
+#define DeleteProfile DeleteProfileA
+#endif
#define LoadUserProfile LoadUserProfileA
#define GetAllUsersProfileDirectory GetAllUsersProfileDirectoryA
#define GetDefaultUserProfileDirectory GetDefaultUserProfileDirectoryA