class Fzeet::ClientDC

Attributes

window[R]

Public Class Methods

new(window) click to toggle source
# File lib/fzeet/windows/core/Common.rb, line 306
def initialize(window)
        @handle = Windows.DetonateLastError(FFI::Pointer::NULL, :GetDC, (@window = window).handle); attach
end

Public Instance Methods

dispose() click to toggle source
# File lib/fzeet/windows/core/Common.rb, line 312
def dispose; Windows.ReleaseDC(@window.handle, @handle); detach end