如题所述
WindowsçApiæ»æ°è¾¾ä¸ä¸ä»¥ä¸ï¼ä¸åæ°çæ¬é½ä¼å¢å ä¸å个æ°apiã
Windows APIææä¾çåè½æ以ä¸å ç±»ï¼
åºç¡æå¡ï¼Base Servicesï¼ï¼æä¾å¯¹Windowsç³»ç»å¯ç¨çåºç¡èµæºç访é®æ¥å£ãæ¯å¦è±¡ï¼æ件系ç»ï¼file systemï¼ãå¤é¨è®¾å¤ï¼deviceï¼ãï¼è¿ç¨ï¼processï¼ã线ç¨ï¼threadï¼ä»¥å访é®æ³¨å表ï¼Windows registryï¼åé误å¤çæºå¶ï¼error handlingï¼ãè¿äºåè½æ¥å£ä½äºï¼16ä½Windowsä¸çkernel.exeãkrnl286.exeækrnl386.exeç³»ç»ææ¡£ä¸ï¼ä»¥å32ä½Windowsä¸ç kernel32.dllåadvapi32.dllä¸ã
å¾å½¢è®¾å¤æ¥å£ï¼GDIï¼ï¼æä¾åè½ä¸ºï¼è¾åºå¾å½¢å 容å°æ¾ç¤ºå¨ãæå°æºä»¥åå ¶ä»å¤é¨è¾åºè®¾å¤ãå®ä½äº16ä½Windowsä¸çgdi.exeï¼ä»¥å32ä½Windowsä¸çgdi32.dllã
å¾å½¢åç¨æ·çé¢ï¼GUIï¼ï¼æä¾çåè½æå建å管çå±å¹å大å¤æ°åºæ¬æ§ä»¶ï¼controlï¼ï¼æ¯å¦æé®åæ»å¨æ¡ãæ¥æ¶é¼ æ åé®çè¾å ¥ï¼ä»¥åå ¶ä»ä¸GUIæå ³çåè½ãè¿äºè°ç¨æ¥å£ä½äºï¼16ä½Windowsä¸çuser.exeï¼ä»¥å32ä½Windowsä¸çuser32.dllãä»Windows XPçæ¬ä¹åï¼åºæ¬æ§ä»¶åéç¨å¯¹è¯æ¡æ§ä»¶ï¼Common Control Libraryï¼çè°ç¨æ¥å£æ¾å¨comctl32.dllä¸ã
éç¨å¯¹è¯æ¡é¾æ¥åºï¼Common Dialog Box Libraryï¼ï¼ä¸ºåºç¨ç¨åºæä¾æ å对è¯æ¡ï¼æ¯å¦æå¼ï¼ä¿åæ档对è¯æ¡ãé¢è²å¯¹ç»æ¡ååä½å¯¹è¯æ¡ççãè¿ä¸ªé¾æ¥åºä½äºï¼16ä½Windowsä¸çcommdlg.dllä¸ï¼ä»¥å32ä½Windowsä¸comdlg32.dllä¸ãå®è¢«å½ç±»ä¸ºUser Interface APIä¹ä¸ã
éç¨æ§ä»¶é¾æ¥åºï¼Common Control Libraryï¼ï¼ä¸ºåºç¨ç¨åºæä¾æ¥å£æ¥è®¿é®æä½ç³»ç»æä¾çä¸äºé«çº§æ§ä»¶ãæ¯å¦åï¼ç¶ææ ï¼status barï¼ãè¿åº¦æ¡ï¼progress barsï¼ãå·¥å ·æ ï¼toolbarï¼åæ ç¾ï¼tabï¼ãè¿ä¸ªé¾æ¥åºä½äºï¼16ä½Windowsä¸çcommctrl.dllä¸ï¼ä»¥å32ä½Windowsä¸comctl32.dllä¸ãå®è¢«å½ç±»ä¸ºUser Interface APIä¹ä¸ãWindowså¤å£³ï¼Windows Shellï¼ï¼ä½ä¸ºWindows APIçç»æé¨åï¼ä¸ä» å 许åºç¨ç¨åºè®¿é®æä½ç³»ç»shellæä¾çåè½ï¼
è¿å¯¹ä¹æææ¹è¿åå¢å¼ºãå®ä½äº16ä½Windowsä¸çshell.dllä¸ï¼ä»¥å32ä½Windowsä¸çshell32.dllä¸ï¼Windows95åå¨ shlwapi.dllä¸ï¼ã å®è¢«å½ç±»ä¸ºUser Interface APIä¹ä¸ã
ç½ç»æå¡ï¼Network Servicesï¼ï¼ä¸ºè®¿é®æä½ç³»ç»æä¾çå¤ç§ç½ç» åè½æä¾æ¥å£ãå®å æ¬NetBIOSãWinsockãNetDDEåRPCçã