For information on the DirectRenderer function see is_DirectRenderer()
Existing DirectDraw fucntions |
Corresponding new DirectRenderer functions |
|---|---|
none (omitted) |
|
is_DirectRenderer(h, DR_SHOW_OVERLAY, NULL, NULL); |
|
is_DirectRenderer(h, DR_HIDE_OVERLAY, NULL, NULL); |
|
none (omitted) |
|
is_DirectRenderer(h, DR_GET_OVERLAY_DC, (void*)&hDC, sizeof(HDC)); |
|
is_DirectRenderer(h, DR_RELEASE_OVERLAY_DC, NULL, NULL); |
|
none (omitted) |
|
none (omitted) |
|
none (omitted) |
|
none (omitted) |
|
none (omitted) |
|
none (omitted) |
|
none (omitted) |
|
none (omitted) |
|
is_DirectRenderer(h, DR_SET_HWND, (void*)&hwnd, sizeof(HWND)); |
|
UINT KeyColor[3]; KeyColor[0] = R; KeyColor[1] = G; KeyColor[2] = B; is_DirectRenderer(h, DR_SET_OVERLAY_KEY_COLOR, (void*)KeyColor, sizeof (KeyColor)); |
|
none (omitted) |
|
none (omitted) |
|
INT nFormat = <color format>; |
|
INT nFormat = -1; |
|
INT nWait = IS_WAIT; |