Re: gdi32: Add tests for GetICMProfile and SetICMMode.

2008-01-21 Thread James Hawkins
On Jan 21, 2008 6:25 PM, Detlef Riekenberg <[EMAIL PROTECTED]> wrote: > On Mo, 2008-01-21 at 16:33 +0100, Hans Leidekker wrote: > > > > +static void test_GetICMProfileA( HDC dc ) > > Please check GetLastError() as much as possible > (Add comments, when GetLastError() does not return something usabl

Re: gdi32: Add tests for GetICMProfile and SetICMMode.

2008-01-21 Thread Detlef Riekenberg
On Mo, 2008-01-21 at 16:33 +0100, Hans Leidekker wrote: > > +static void test_GetICMProfileA( HDC dc ) Please check GetLastError() as much as possible (Add comments, when GetLastError() does not return something usable > +size = MAX_PATH; > +ret = GetICMProfileA( dc, &size, NULL ); > +