aciodrv: address review

also some formatting fixes
This commit is contained in:
Will Xyen
2021-01-19 21:10:34 -08:00
parent 4b60cb6c6c
commit 8e1151ac02
16 changed files with 114 additions and 55 deletions
+3 -3
View File
@@ -341,14 +341,14 @@ static HRESULT my_MFEnumDeviceSources(
for (UINT32 i = 0; i < nsrcs; ++i) {
api = (*pppSourceActivate)[i];
ret = com_proxy_wrap(&api_proxy, api, sizeof(*api->lpVtbl));
if (ret != S_OK) {
log_warning("Wrapping com proxy failed: %08lx", ret);
return ret;
}
api_vtbl = api_proxy->vptr;
real_GetAllocatedString = api_vtbl->GetAllocatedString;