how to print Long pointers in dbgprint
Hi folks
could you tell me how to print the following in a dbgprint statment
DWORD dwAddressLength,
LPWSTR lpszAddressString,
LPDWORD lpdwAddressStringLength,
LPINT lpErrorno
I have the following but it doesn't seems to work properly
dbgprint("WSPAddressToStrying: lpsaAddress(IP)=[%s] lpsaAddress(port)=[%d] lpszAddressString=[%S] lpdwAddressStringLength=[%u]\n",
inet_ntoa(pSockAddrIn->sin_addr),
ntohs(pSockAddrIn->sin_port), *lpszAddressString, lpdwAddressStringLength);
Thank you.