Fixed last VirtualChannelEntry

This commit is contained in:
David FORT 2015-05-19 13:54:43 +02:00
parent 6fb3f390a0
commit f8d6eb226c
3 changed files with 3 additions and 3 deletions

View File

@ -1115,5 +1115,5 @@ BOOL VCAPITYPE VirtualChannelEntry(PCHANNEL_ENTRY_POINTS pEntryPoints)
return -1;
}
return rdpdr_add_init_handle_data(rdpdr->InitHandle, (void*) rdpdr) ? 1 : -1;
return rdpdr_add_init_handle_data(rdpdr->InitHandle, (void*) rdpdr);
}

View File

@ -1184,5 +1184,5 @@ BOOL VCAPITYPE VirtualChannelEntry(PCHANNEL_ENTRY_POINTS pEntryPoints)
return -1;
}
return rdpsnd_add_init_handle_data(rdpsnd->InitHandle, (void*) rdpsnd) ? 1 : -1;
return rdpsnd_add_init_handle_data(rdpsnd->InitHandle, (void*) rdpsnd);
}

View File

@ -859,5 +859,5 @@ BOOL VCAPITYPE VirtualChannelEntry(PCHANNEL_ENTRY_POINTS pEntryPoints)
remdesk->channelEntryPoints.pInterface = *(remdesk->channelEntryPoints.ppInterface);
remdesk->channelEntryPoints.ppInterface = &(remdesk->channelEntryPoints.pInterface);
return remdesk_add_init_handle_data(remdesk->InitHandle, (void*) remdesk) ? 1 : -1;
return remdesk_add_init_handle_data(remdesk->InitHandle, (void*) remdesk);
}