Releases a device context (DC)
ReleaseDC( hwnd, hdc )
|hwnd||Long||Required. A handle to the window whose DC is to be released.|
|hdc||Long||Required. A handle to the DC to be released.|
Long : 1 if the DC was released, otherwise 0.
Private Declare Function ReleaseDC Lib "user32" (ByVal hwnd As Long, ByVal hdc As Long) As Long
- API is used to determine the width and height of the screen.