reverted failed attempt, fixed callback release
This commit is contained in:
parent
c8d64481e8
commit
a565190e6f
7 changed files with 51 additions and 30 deletions
|
|
@ -42,7 +42,7 @@ HRESULT EndpointCallback::OnNotify(PAUDIO_VOLUME_NOTIFICATION_DATA pNotify) {
|
|||
AUDIO_VOLUME_NOTIFICATION_DATA eventData = *pNotify;
|
||||
NGuid* guid = osh->getGuid();
|
||||
|
||||
if (memcmp(guid, &eventData, sizeof(guid)) == 0) {
|
||||
if (memcmp(guid, &eventData, sizeof(*guid)) == 0) {
|
||||
log_debugcpp("perlitas");
|
||||
} else {
|
||||
log_debugcpp("Onnanokotify says Stored: " << guid->data1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue