差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

cpp:winapi [2017/08/19 23:33]
cpp:winapi [2023/06/25 09:48] (目前版本)
行 1: 行 1:
 +{{tag>​cpp Windows}} 
 +====== WINAPI ====== 
 +與Windows相關的programming都放在這裡。 
 +===== Article List ===== 
 +  * [[cpp:​winapi:​process|Process]] 
 +  * [[cpp:​winapi:​hook|Hook]] 
 +  * [[cpp:​winapi:​Network Share Management Functions|Network Share Management Functions]] 
 +  * [[cpp:​sc:​QueryServiceLockStatus|QueryServiceLockStatus]] 
 +===== Reference - devcon.exe ===== 
 +會看到這個軟體,主要是因為在研究,如何像裝置管理員去enable/​disable一個device。而devcon.exe是windows針對device操作的command line程式。其執行檔無法商用,但可以擷取程式碼任意使用。以下是看到的相關資料:​ 
 +  * [[https://​msdn.microsoft.com/​en-us/​library/​windows/​hardware/​ff544707(v=vs.85).aspx|Windows Device Console (Devcon.exe)]] 
 +  * [[https://​github.com/​Microsoft/​Windows-driver-samples/​tree/​master/​setup/​devcon|Source code]]  
 +  * [[http://​delphintipz.blogspot.tw/​2012/​07/​disable-failed-no-devices-disabled.html|HOW TO DISABLE DEVICES FROM COMMAND PROMPT?]] 
 +  * [[http://​www.osronline.com/​showThread.CFM?​link=118557|Can devcon.exe be distributed on an installation CD?]] 
 +  * [[https://​social.msdn.microsoft.com/​Forums/​windowsdesktop/​en-US/​a449f997-fd30-442d-9e29-6cbb4819730f/​devcon-licensing?​forum=wdk|Devcon licensing]] 
 +  * [[https://​social.msdn.microsoft.com/​Forums/​en-US/​4a648d6a-ea81-44d3-89c2-57fa5caa6fd6/​vs2008-resource-view-crashes-with-rc2247-when-prshth-included-as-a-resource-include?​forum=vcprerelease|prsht.h SYMBOL name too long]] 使用VC2013要編輯devcon.rc遇到的問題與解決方法 
 +===== Resource ===== 
 +  * [[https://​msdn.microsoft.com/​en-us/​library/​windows/​desktop/​aa446629(v=vs.85).aspx|Finding the Owner of a File Object in C++]] 
 +  * [[https://​github.com/​Microsoft/​Windows-driver-samples/​tree/​master/​setup/​devcon|Source code for devcon.exe]] 無法將執行檔用於商用,但程式碼可用 
 +  * [[http://​pcsupport.about.com/​od/​findbyerrormessage/​tp/​stop_error_list.htm|common BSOD code]] 
 +  * [[http://​www.worldstart.com/​how-to-troubleshoot-a-blue-screen-of-death/​|troubleshoot the BSOD]] 
 +  * [[http://​blog.csdn.net/​zhang_hui_cs/​article/​details/​7514164|INF Version Section详解]]