Re: [ADVANCED-DOTNET] Help with Void

2003-01-04 Thread Nick Wienholt
iginal Message - From: "John Puopolo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 03, 2003 7:19 AM Subject: [ADVANCED-DOTNET] Help with Void > All, > > I need to call a GDI32.DLL function called GetBitmapBits, whose last > parameter is specifi

[ADVANCED-DOTNET] Help with Void

2003-01-03 Thread John Puopolo
All, I need to call a GDI32.DLL function called GetBitmapBits, whose last parameter is specified as void*. To import the function, I have the following: [DllImport("gdi32.dll")] static extern long GetBitmapBits( IntPtr hbmp, long cbBuffer, [Out] IntPtr pData ); How do I go about callin