Re: [v5 PATCH 1/4] mfplat: Implement MFTRegister
8 May
2017
8 May
'17
8:17 p.m.
Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> writes:
+ if (cinput && input_types) + { + size = cinput * sizeof(MFT_REGISTER_TYPE_INFO); + types = HeapAlloc(GetProcessHeap(), 0, size); + if (!types) goto err; + + memcpy(types, input_types, size); + + ret = RegSetValueExW(hclsid, inputtypesW, 0, REG_BINARY, (BYTE *)types, size); + HeapFree(GetProcessHeap(), 0, types); + if (ret) goto err;
Again, why do you need a copy? -- Alexandre Julliard julliard(a)winehq.org
3141
Age (days ago)
3141
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard