Board index » Visual Studio » vbNull and 0
|
glo
|
vbNull and 0
Visual Studio258
When using API function for example: Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long should I use vbNull for wParam as below rtn = SendMessage(x, WM_COPYDATA, vbNull, cds) or 0 rtn = SendMessage(x, WM_COPYDATA, 0, cds) Which will be the proper way? - |
