IDirect3DRMWinDevice::HandleActivate

HRESULT HandleActivate(WORD wParam);

Responds to a Windows WM_ACTIVATE message. This ensures that the colors are correct in the active rendering window.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

wParam

WPARAM parameter passed to the message-processing procedure with the WM_ACTIVATE message.