Subject: bug#21132: 25.0.50; Emacs on Windows crashes evaluating x-frame-geometry in batch mode

From: Eli Zaretskii <[email-masked]>
Date: Mon, 27 Jul 2015 19:59:39 +0300

> Date: Mon, 27 Jul 2015 18:34:45 +0200
> From: martin rudalics <[email-masked]>
> CC: [email-masked], [email-masked]
> 
>  > When FRAME_W32_P returns false, FRAME_W32_WINDOW will crash.
> 
> The question is whether always for any frame f holds FRAME_W32_P (f) =>
> FRAME_W32_WINDOW (f).

I don't know.  FRAME_W32_WINDOW returns a window handle, whereas
FRAME_W32_P only tells you can access that handle, but doesn't
necessarily ensure that handle will be non-NULL.