.GETDC allows use of the Windows graphics engine to draw in a PC Logo for Windows window. The required input is the handle for the window which is to be used for output. .GETDC outputs a number which can be used as a device context required by the Windows kernel as a parameter for further drawing operations. It is essential to release the device context number with the .FREEDC command, since the number of device contexts which Windows can manage is limited. Using .GETDC without a corresponding .FREEDC command may cause Windows to crash.
? MAKE "MY.DC .GETDC .HWND
? .FREEDC .HWND