C++ applications use the D3DTSS_BORDERCOLOR texture stage state to set border color texture addressing.
For more information, see Border Color Texture Address Mode.