Closed mzdk100 closed 5 months ago
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 GetWindowThreadProcessId
instead.
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.