Use %d for int. And the parameters are pointers, so use * to access the values pointed to.
NSLog(@"MSg:%d wParam:%u lParam:%d",Msg,*wParam,*lParam);
Use %d for int. And the parameters are pointers, so use * to access the values pointed to.
NSLog(@"MSg:%d wParam:%u lParam:%d",Msg,*wParam,*lParam);