-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetProcessHandleFromHwnd missing from SDK, metadata #1876
Comments
This API doesn't appear in SDK headers or metadata, so I'll forward this issue to the appropriate repository. (https://learn.microsoft.com/windows/win32/winauto/getprocesshandlefromhwnd) That said, I recommend you use |
Okay, then I'll use the GetWindowThreadProcessId function instead. |
Yep, I wouldn't add this to metadata given that it's not generally available and there's a reasonable alternative. |
I don't have any further questions, this issue can be closed. |
Hey no take backs, it's documented so SDK/metadata needs an update. Dump of file oleacc.dll
File Type: DLL
Section contains the following exports for OLEACC.dll
00000000 characteristics
66CABA88 time date stamp
0.00 version
1 ordinal base
28 number of functions
28 number of names
ordinal hint RVA name
3 0 00042230 AccGetRunningUtilityState
4 1 000429F0 AccNotifyTouchInteraction
5 2 00042A80 AccSetRunningUtilityState
6 3 00013A30 AccessibleChildren
7 4 00006130 AccessibleObjectFromEvent
8 5 00042AD0 AccessibleObjectFromPoint
9 6 0000EC80 AccessibleObjectFromWindow
10 7 00003F80 AccessibleObjectFromWindowTimeout
11 8 00017BB0 CreateStdAccessibleObject
12 9 00042B20 CreateStdAccessibleProxyA
13 A 00042B70 CreateStdAccessibleProxyW
14 B 00017E40 DllCanUnloadNow
15 C 000039E0 DllGetClassObject
1 D 0001E170 DllRegisterServer
2 E 0001E170 DllUnregisterServer
16 F 00042BC0 GetOleaccVersionInfo
+ 17 10 00003840 GetProcessHandleFromHwnd
18 11 00042C10 GetRoleTextA
19 12 00018FF0 GetRoleTextW
20 13 00042C60 GetStateTextA
21 14 0001A850 GetStateTextW
22 15 000525B8 IID_IAccessible
23 16 00052C40 IID_IAccessibleHandler
24 17 00054008 LIBID_Accessibility
25 18 00012100 LresultFromObject
26 19 00019610 ObjectFromLresult
27 1A 0000B4A0 PropMgrClient_LookupProp
28 1B 00019A30 WindowFromAccessibleObject |
@mikebattista Thanks! |
Suggestion
I need to use the GetProcessHandleFromHwnd function, but it was not found in windows-rs.
I tried using search and only received the following results:
I'm not sure if this is a bug, so I want to know how to call this function.
The text was updated successfully, but these errors were encountered: