Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道 lp = 长指针 WndProc = Windows 过程
但我不知道什么是 fn。fn 代表什么?
WNDCLASS wndClass; wndClass.lpfnWndProc = WindowProcedure;
fn = 功能。lpfnWndProc = 指向 Windows 过程函数的长指针。
从文档中:
lpfnWndProc 类型:WNDPROC 指向窗口过程的指针。您必须使用 CallWindowProc 函数来调用窗口过程。有关详细信息,请参阅 WindowProc。
lpfnWndProc
类型:WNDPROC
指向窗口过程的指针。您必须使用 CallWindowProc 函数来调用窗口过程。有关详细信息,请参阅 WindowProc。
'fn' 表示功能。你是对的'lp'意思是'长指针'