static extern IntPtr CloseEnhMetaFile(IntPtr hdc);
Declare Function CloseEnhMetaFile Lib "gdi32.dll" _