Microsoft's multimedia API. At the time of writing it is up to version 9, and although it has quite a learning curve associated with it, DirectX is one of those factors that makes Windows such a good platform for multimedia/games.
The answer on the Linux side of things is probably SimpleDirectMediaLayer. However, nothing quite approaches the power (and complexity) of DirectX.
One page links to DirectX: