DLLImport and unmanaged function Polygon from Win32API

P

Pawel

Hi,

I will import function Polygon from GDI Win32API, how should i declare this
function in C# using DllImport clause.

Thanks for any sugesstions,

Regards,

Pawel
 
M

Mattias Sjögren

I will import function Polygon from GDI Win32API, how should i declare this
function in C# using DllImport clause.

Something like

[DllImport("gdi32.dll")]
static extern bool Polygon(HandleRef hdc, POINT[] lpPoints, int
nCount);



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top