The DrawAnimatedRects function draws a wire-frame rectangle and animates it to indicate the opening of an icon or the minimizing or maximizing of a window.
BOOL WINAPI DrawAnimatedRects(
|
HWND hwnd, |
// handle to clipping window |
|
int idAni, |
// type of animation |
|
CONST RECT *lprcFrom, |
// pointer to rectangle coordinates (minimized) |
|
CONST RECT *lprcTo |
// pointer to rectangle coordinates (restored) |
|
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.