How to GetDC?

J

Jon Abaunza

Hello!
I am trying to get the device Context, and i have to do it through
pInvokes. Does anyone know which dll I have to import? I tried with

[DllImport("core.dll")]
static extern IntPtr GetWindowDC(IntPtr hWnd);

and

[DllImport("core.dll")]
static extern IntPtr GetDC(IntPtr hWnd);
but it seems that they don't exist or at least in this dll.
Does anyone know how I can import it?
 

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