Settings | Sign in | Sign up

There is currently 1 post.

在exe窗口程序里面,因为visual studio的默认调用约定不是_stdcall,所以WinMain主函数和DlgProc回调函数必须加_stdcall。

Floor 1 巨大八爪鱼 12/29/25 15:37
而在sys驱动程序里面,WDK环境下C语言函数的默认调用约定就是_stdcall,所以驱动程序里面所有的函数都不用加_stdcall,默认就是_stdcall。

Content converter:

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.