Microsoft DirectX 9.0


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


HRESULT PerformanceAlignWindow(void);

Return Value

Returns S_OK.


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