NULL pointer given, Win32API

Aaagh! Never mind - I had the arguments backwards. It works.

Regards,

Dan