Unified · Split
| @@ -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 | |||
| 158 | static HRESULT STDMETHODCALLTYPE sIMMNotificationClient_OnPropertyValueChanged( | 163 | static HRESULT STDMETHODCALLTYPE sIMMNotificationClient_OnPropertyValueChanged( |
| 159 | IMMNotificationClient *This, | 164 | IMMNotificationClient *This, |
| 160 | LPCWSTR pwstrDeviceId, | 165 | LPCWSTR pwstrDeviceId, |