开发者

find explorer.exe hwnd

开发者 https://www.devze.com 2022-12-22 23:23 出处:网络
I want to find & enumerate explorer.exe. Found \'EnumChildWindows\' API call but how to \'get\' explorer.exe h开发者_JAVA技巧wnd ???In your enum callback procedure, you can call GetClassName and

I want to find & enumerate explorer.exe.

Found 'EnumChildWindows' API call but how to 'get' explorer.exe h开发者_JAVA技巧wnd ???


In your enum callback procedure, you can call GetClassName and look for top level hWNDs with the approprate classname for Explorer (ExploreWClass I think - can find with Spy++).

I think you want EnumWindows to enum the top level windows, not EnumChildWindows.

0

精彩评论

暂无评论...
验证码 换一张
取 消