DsGetDcClose

[DllImport("netapi32.dll", SetLastError = true)]
public static extern uint DsGetDcClose(
   IntPtr GetDcContextHandle
);

Microsoft documentation: Link

Last updated