Path: csiph.com!4.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c++ Subject: Re: What is the data structure of a NULL? Date: Sat, 28 Dec 2019 02:14:11 -0800 Organization: None to speak of Lines: 17 Message-ID: <87sgl4rc3w.fsf@nosuchdomain.example.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="8d88aa08a0f2992ca9bb73f0d3f59382"; logging-data="18636"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+06CNWtFYFavTRwkEGPEXB" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cancel-Lock: sha1:u/jHO72pLS7Z+HrAP63T7dS5sKg= sha1:8sG/JnKeCSFHUynyxQsYsD14WMM= Xref: csiph.com comp.lang.c++:70728 T writes: > In C++, when you make a call to Windows Kernel32.dll > and it wants a NULL for one or more of its parameters, > what exactly is the structure of a NULL? A 32 bit > word full of zeros? You might get better answers if you explained why you want to know. If you're making a call from C++, you can just pass a null pointer value such as nullptr or NULL. The compiler needs to know how it's represented. You probably don't. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com [Note updated email address] Working, but not speaking, for Philips Healthcare void Void(void) { Void(); } /* The recursive call of the void */