mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 21:06:00 +00:00
3751065f97
We always want to use __declspec(selectany) to declare GUIDs, but
manually including <initguid.h> in every file that used GUIDs was
error-prone. Since all <initguid.h> does is define INITGUID and include
<guiddef.h>, we can remove all references to <initguid.h> and just
compile with -DINITGUID to get the same effect.
Also, this partially reverts 622bcb0
by re-adding libuuid.a to the
build, since apparently some GUIDs (such as GUID_NULL) are not declared
in the source file, even when INITGUID is set.
17 lines
340 B
C
17 lines
340 B
C
#include <malloc.h>
|
|
#include <stdlib.h>
|
|
#include <process.h>
|
|
#include <audioclient.h>
|
|
#include <endpointvolume.h>
|
|
#include <mmdeviceapi.h>
|
|
#include <avrt.h>
|
|
const GUID *check1[] = {
|
|
&IID_IAudioClient,
|
|
&IID_IAudioRenderClient,
|
|
&IID_IAudioClient,
|
|
&IID_IAudioEndpointVolume,
|
|
};
|
|
int main(void) {
|
|
return 0;
|
|
}
|