> the program starts, but the difference between this and a regular
> non-static variable is that this static variable holds whatever value
> it contains
That wasnt very clear so I'll try to explain better. The bottom line
is that the value of the static variable is retained between repeated
fun
Tobias wrote:
> > +if (warned++ < 10 && lprgn != NULL)
Stefan wrote:
> for me this looks like
>
> if (0 < 10 && lprgn != NULL)
The variable 'warned' doesn't actually turn out to be zero all of the
time. It is a static variable, so it is initialized once to zero when
the program starts,
Hi,
On Sat, Aug 21, 2004 at 11:08:09AM +0200, Stefan Leichter wrote:
> Am Freitag, 20. August 2004 18:37 schrieb Tobias Burnus:
> > +
> > HRESULT WINAPI Main_DirectDrawClipper_SetClipList(
> > -LPDIRECTDRAWCLIPPER iface,LPRGNDATA lprgn,DWORD pdwSize
> > +LPDIRECTDRAWCLIPPER iface,LPRGNDA
Am Freitag, 20. August 2004 18:37 schrieb Tobias Burnus:
> +
> HRESULT WINAPI Main_DirectDrawClipper_SetClipList(
> -LPDIRECTDRAWCLIPPER iface,LPRGNDATA lprgn,DWORD pdwSize
> +LPDIRECTDRAWCLIPPER iface,LPRGNDATA lprgn,DWORD pdwFlag
> ) {
> ICOM_THIS(IDirectDrawClipperImpl,iface);