招聘Windows API 熟悉人

对常用的Windows API 进行包装。例如 CreateWindow,RegisterClassEx,MessageBox,GetWindowText,以及回调都在 Dangerous Browser 中有具体代码例子,参照完成下列函数的包装:

WINDOW 系列函数:

AdjustWindowRect

AdjustWindowRectEx

AllowSetForegroundWindow

AnimateWindow

BeginDeferWindowPos

BringWindowToTop

CascadeWindows

CloseWindow

DeferWindowPos

DestroyWindow

EndDeferWindowPos

FindWindow

FindWindowEx

GetClientRect

GetDesktopWindow

GetForegroundWindow

GetNextWindow

GetParent

GetShellWindow

GetTopWindow

GetWindow

GetWindowModuleFileName

GetWindowPlacement

GetWindowRect

GetWindowTextLength

GetWindowThreadProcessId

InternalGetWindowText

IsChild

IsHungAppWindow

IsWindow

IsWindowUnicode

IsWindowVisible

IsZoomed

LockSetForegroundWindow

MoveWindow

SetForegroundWindow

SetLayeredWindowAttributes

SetParent

SetWindowPlacement

SetWindowPos

SetWindowText

ShowOwnedPopups

ShowWindow

ShowWindowAsync

SwitchToThisWindow

TileWindows

UpdateLayeredWindow

WindowFromPoint

GDI 系列函数

GetDC

ReleaseDC

CreateDC

DeleteDC

CreateFont

CreateFontIndirect

DrawText

GetTextAlign

GetTextColor

SetTextAlign

SetTextColor

TextOut

MoveToEx

LineTo

Chord

Ellipse

FillRect

FrameRect

InvertRect

Polygon

PolyPolygon

Rectangle

RoundRect

RGB

设置常量的值

    MN_GETHMENU
    WM_GETFONT
    WM_GETTEXT
    WM_GETTEXTLENGTH
    WM_SETFONT
    WM_SETICON

 

    WM_SETTEXT

 

 

    WM_CLOSE

    WM_CREATE

    WM_DESTROY
    WM_MOVE
    WM_MOVING
    WM_QUIT
    WM_SHOWWINDOW
    WM_SIZE
    WM_SIZING
    WM_PAINT

 

要求,要写测试程序,每个API至少一个独立的测试函数进行测试。

联系

posted @ 2008-09-26 23:47  yesry  阅读(756)  评论(1编辑  收藏  举报