To view what functions inside lib file, we can open "Visual Studio Command Prompt", and type "Dumpbin /exports [file_path]" to show all functions be implemented.
C:\Program Files\Microsoft Visual Studio 9.0\VC>dumpbin /exports "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\libegl.lib" Microsoft (R) COFF/PE Dumper Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\libegl.lib File Type: LIBRARY Exports ordinal name 14 eglBindAPI 20 eglBindTexImage 7 eglChooseConfig 33 eglCopyBuffers 23 eglCreateContext 18 eglCreatePbufferFromClientBuffer 10 eglCreatePbufferSurface 11 eglCreatePixmapSurface 9 eglCreateWindowSurface 24 eglDestroyContext 12 eglDestroySurface 8 eglGetConfigAttrib 6 eglGetConfigs 26 eglGetCurrentContext 28 eglGetCurrentDisplay 27 eglGetCurrentSurface 2 eglGetDisplay 1 eglGetError 34 eglGetProcAddress 3 eglInitialize 25 eglMakeCurrent 15 eglQueryAPI 29 eglQueryContext 5 eglQueryString 13 eglQuerySurface 21 eglReleaseTexImage 17 eglReleaseThread 19 eglSurfaceAttrib 32 eglSwapBuffers 22 eglSwapInterval 4 eglTerminate 16 eglWaitClient 30 eglWaitGL 31 eglWaitNative Summary C3 .debug$S 14 .idata$2 14 .idata$3 4 .idata$4 4 .idata$5 C .idata$6 |
You also can type "Dumpbin /exports /out:[outFile] [file_path]" to list all functions in text file if functions are too many to show in screen.
Reference:
沒有留言:
張貼留言