The declarations in dxgi_extra.h are not missing, they are in dxgi1_2.h and dxgi1_5.h, which exist in MinGW-w64 since 2017.