+DECLSPEC_EXPORT const UINT D3D12SDKVersion = D3D12_SDK_VERSION;
We don't use DECLSPEC_EXPORT.
+@ cdecl D3D12SDKVersion()
This is wrong, it should be "@ extern D3D12SDKVersion".
This is one reason to avoid implementing features until they're needed.