mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:13:56 +00:00
qcap: Assign to struct instead of using CopyMemory.
This commit is contained in:
parent
c2599478b6
commit
2a0f7007d8
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ HRESULT IEnumPinsImpl_Construct(const ENUMPINDETAILS * pDetails, IEnumPins ** pp
|
|||
pEnumPins->lpVtbl = &IEnumPinsImpl_Vtbl;
|
||||
pEnumPins->refCount = 1;
|
||||
pEnumPins->uIndex = 0;
|
||||
CopyMemory(&pEnumPins->enumPinDetails, pDetails, sizeof(ENUMPINDETAILS));
|
||||
pEnumPins->enumPinDetails = *pDetails;
|
||||
*ppEnum = (IEnumPins *)(&pEnumPins->lpVtbl);
|
||||
ObjectRefCount(TRUE);
|
||||
return S_OK;
|
||||
|
|
Loading…
Reference in a new issue