On Wed Feb 1 03:55:40 2023 +0000, Zebediah Figura wrote:
+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.
I didn't know extern was a valid type, is there a list of types that can be used in spec files?
I understand that Wine doesn't implement functions that are not known to be called, but isn't that just for modules which are supposed to be used by applications? To me, it doesn't seem correct to add a completely empty module whose exports are supposed to be used internally. Clarification on this would be appreciated, I'd rather not waste not only my time but also yours with pointless work.