如何在VS中查看API中的可重写函数

如何在VS中查看API中的可重写函数,第1张

如果查看所有进程的DLL文件,运行CMD:

tasklist /m

运行后显示所有进程加载的DLL文件

假如我们查看进程iexploreexe调用或加载的模块文件,运行:

tasklist /m iexploreexe

运行后显示所有该应用程序的DLL文件

查看DLL:

一个很简单的方法就是用NET自带的命令行工具

1首先启动vs的命令行工具

2定位到你的DLL的那个目录

3然后输入" ildasm adll;注意:adll是你的dll的名字 就可以了

不知你问的是不是这个

希望能帮上你

GetSystemTime

The GetSystemTime function retrieves the current system date and time The system time is expressed in Coordinated Universal Time (UTC)

VOID GetSystemTime(

LPSYSTEMTIME lpSystemTime // address of system time structure

);

Parameters

lpSystemTime

Pointer to a SYSTEMTIME structure to receive the current system date and time

Return Values

This function does not return a value

QuickInfo

Windows NT: Requires version 31 or later

Windows: Requires Windows 95 or later

Windows CE: Requires version 10 or later

Header: Declared in winbaseh

Import Library: Use kernel32lib

SYSTEMTIME

The SYSTEMTIME structure represents a date and time using individual members for the month, day, year, weekday, hour, minute, second, and millisecond

typedef struct _SYSTEMTIME { // st

WORD wYear;

WORD wMonth;

WORD wDayOfWeek;

WORD wDay;

WORD wHour;

WORD wMinute;

WORD wSecond;

WORD wMilliseconds;

} SYSTEMTIME;

Members

wYear

Specifies the current year

wMonth

Specifies the current month; January = 1, February = 2, and so on

wDayOfWeek

Specifies the current day of the week; Sunday = 0, Monday = 1, and so on

wDay

Specifies the current day of the month

wHour

Specifies the current hour

wMinute

Specifies the current minute

wSecond

Specifies the current second

wMilliseconds

Specifies the current millisecond

Remarks

It is not recommended that you add and subtract values from the SYSTEMTIME structure to obtain relative times Instead, you should

Convert the SYSTEMTIME structure to a FILETIME structure

Copy the resulting FILETIME structure to a LARGE_INTEGER structure

Use normal 64-bit arithmetic on the LARGE_INTEGER value

QuickInfo

Windows NT: Requires version 31 or later

Windows: Requires Windows 95 or later

Windows CE: Requires version 10 or later

Header: Declared in winbaseh

问题一解:在MSDN中可以找到Windows绝大多数编程所能用到的API,有些API,微软没有用文档说明,没有比MSDN资料更全的API说明文档了。

问题二解:2200多个确实差很多。

问题三解:MSDN的版本是对应相应的SDK的,如果你用Windows SDK XP的话,那么你用最新版本的MSDN就会出现问题,比如最新版本的MSDN说明的一些API在XP系统中根本不存在。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/langs/12184706.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-05-21
下一篇2023-05-21

发表评论

登录后才能评论

评论列表(0条)

    保存