07-29-2008, 12:25 PM
Macro
Function OSD_Proc_Red_Light
Function OSD_Proc_Red_Light
;/
function hwnd hdc cx cy param
int hpen oldpen hbrush oldbrush
;create/select brush and pen, and draw ellipse
hbrush=CreateSolidBrush(0x0000ff); oldbrush=SelectObject(hdc hbrush)
hpen=CreatePen(0 1 0x0000ff); oldpen=SelectObject(hdc hpen)
Ellipse hdc 0 0 cx cy
DeleteObject SelectObject(hdc oldbrush)
DeleteObject SelectObject(hdc oldpen)