How to GetDC?

  • Thread starter Thread starter Jon Abaunza
  • Start date Start date
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?
 
Back
Top