Microsoft DirectX 8.1 (C++)

CBaseWindow::PerformanceAlignWindow

The PerformanceAlignWindow method aligns the window position to DWORD boundaries, for maximum performance.

Syntax

HRESULT PerformanceAlignWindow(void);

Return Value

Returns S_OK.

Remarks

This method aligns the left and top edges of the window to DWORD boundaries, which can improve performance. If the window has a parent, the method returns S_OK but does perform the alignment.

See Also