Stupid question. I think this should be 0, but I can’t seem to find it.
So, if I want to pass a Null value to a Windows API call (this happens to be in VB6), what value would I use?
I think 0, but I guess it could be VBNull.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If the API argument is a
LONG(and not, say, anLPVOID), try passing the zero long integer literal0&.