-
December 18th, 2003, 02:14 PM
#1
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|