typedef

winapi.HBRUSH

typedef void* winapi.HBRUSH

Constructors

mem = winapi.HBRUSH()  -- memory for 1 value
mem = winapi.HBRUSH[n] -- memory for n values
len = #winapi.HBRUSH   -- sizeof(winapi.HBRUSH)

Accessors

~mem       -- get value at ptr
mem:get()  -- get value at ptr
mem:set(n) -- set value at ptr
mem[n]     -- return element at n