PureBasic

Windows의 Dll파일에 있는 API 목록 나열

홍사훈     0건     358회

본문

인자수 보여주는 도구 : http://forums.purebasic.com/english/viewtopic.php?f=27&t=45226

 

8b66e02d2b4883e265286d1e6f50633e_1433947
 

; Windows XP SP3 (+ 추가 업데이트) 기준.

 ;If OpenLibrary(0, "gdi32.dll")  ;610개.

;If OpenLibrary(0, "user32.dll")  ;732개.

;If OpenLibrary(0, "kernel32.dll")  ;954개.

;If OpenLibrary(0, "advapi32.dll")  ;677개.

;If OpenLibrary(0, "shell32.dll")  ;755개.

If OpenLibrary(0, "winmm.dll")  ;210개.

  Debug CountLibraryFunctions(0)  ;해당 라이브러리 파일 내의 전체 api 함수 수 출력.

  If ExamineLibraryFunctions(0)  ;함수 조사 시작.

    While NextLibraryFunction()  ;현재 열린 라이브러리의 함수들을 차례로 조회함.

      Debug LibraryFunctionName()  ;함수 이름 출력.

    Wend

  EndIf

  CloseLibrary(0) ;라이브러리 닫음.

EndIf

[이 게시물은 최고관리자님에 의해 2023-04-15 20:45:15 PureBasic에서 이동 됨]

등록된 댓글이 없습니다.



Copyrightⓡ1996~2025, sahoon.com All Rights Reserved.