History

ao_wasapi_changenotify: fix IsEqualPropertyKey for C

Kacper Michajłow committed 2 years ago

Commit 529cc381 parent 5cf0da21 file · +5 −0Browse files

Unified · Split

audio/out/ao_wasapi_changenotify.c+5−0
@@ -155,6 +155,11 @@ static HRESULT STDMETHODCALLTYPE sIMMNotificationClient_OnDefaultDeviceChanged( · 154 unmodified lines
155 return S_OK;155 return S_OK;
156}156}
157 157
158// IsEqualIID in Windows SDK passes GUID as REFGUID (reference) in C++, but in
159// C is has to get pointers...
160#undef IsEqualPropertyKey
161#define IsEqualPropertyKey(a, b) (((a).pid == (b).pid) && IsEqualIID(&(a).fmtid, &(b).fmtid))
162
158static HRESULT STDMETHODCALLTYPE sIMMNotificationClient_OnPropertyValueChanged(163static HRESULT STDMETHODCALLTYPE sIMMNotificationClient_OnPropertyValueChanged(
159 IMMNotificationClient *This,164 IMMNotificationClient *This,
160 LPCWSTR pwstrDeviceId,165 LPCWSTR pwstrDeviceId,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t