64,654
社区成员
发帖
与我相关
我的任务
分享
(hWnd);
(uMsg);
(wParam);
(lParam);
(lResult);
(bHandled);
void testfunc(int hwnd)
{
(hwnd);
}
.globl __Z8testfunci
.def __Z8testfunci; .scl 2; .type 32; .endef
__Z8testfunci:
pushl %ebp
movl %esp, %ebp
popl %ebp
ret
#define BEGIN_MSG_MAP(theClass) \
public: \
BOOL ProcessWindowMessage(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT& lResult, DWORD dwMsgMapID = 0) \
{ \
BOOL bHandled = TRUE; \
(hWnd); \
(uMsg); \
(wParam); \
(lParam); \
(lResult); \
(bHandled); \
switch(dwMsgMapID) \
{ \
case 0:
void testfunc(HWND /*hwnd*/)
{
(hwnd); //这样就能保证这个变量的正确性,防止名字冲突啥的
}
void testfunc(HWND /*hwnd*/)
{
(hwnd); //这样就能保证这个变量的正确性,防止名字冲突啥的
}