Not sure, but I guess that D3D_SDK_VERSION
and D3DX_SDK_VERSION
defines is that you are looking for. At least in this example it's used to check a runtime vs. build versions:
HRESULT CD3DXMyApplication::Initialize(HINSTANCE hInstance,
LPCSTR szWindowName, LPCSTR szClassName, UINT uWidth, UINT uHeight)
{
HRESULT hr;
if (!D3DXCheckVersion(D3D_SDK_VERSION, D3DX_SDK_VERSION))
return E_FAIL;
//...
}