https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2af6fd4defce9b7766c56…
commit 2af6fd4defce9b7766c56bf565af5f675f6d2f79
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sat Sep 14 22:46:30 2024 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sat Sep 14 23:05:53 2024 +0200
[PSDK] Add GetMenuPosFromID() declaration in shlwapi.h
This function is exported from shlwapi.dll since version 4.71.
It has been publicly documented in MS PSDK and MSDN since at least
Windows XP/2003 and claimed to be declared in shlwapi.h; however,
this is inaccurate: it has been declared only starting Vista PSDK.
---
sdk/include/psdk/shlwapi.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sdk/include/psdk/shlwapi.h b/sdk/include/psdk/shlwapi.h
index 84b95db43ff..8ca1e7544dc 100644
--- a/sdk/include/psdk/shlwapi.h
+++ b/sdk/include/psdk/shlwapi.h
@@ -1907,6 +1907,8 @@ SHFreeShared(
#endif /* NO_SHLWAPI_SHARED */
+INT WINAPI GetMenuPosFromID(_In_ HMENU hMenu, _In_ UINT uID);
+
/* SHAutoComplete flags */
#define SHACF_DEFAULT 0x00000000
#define SHACF_FILESYSTEM 0x00000001