dplayx: Assign to struct instead of using memcpy.
This commit is contained in:
parent
0e33eee9a2
commit
20c0c311da
|
@ -3619,8 +3619,7 @@ BOOL WINAPI DP_BuildSPCompoundAddr( LPGUID lpcSpGuid, LPVOID* lplpAddrBuf,
|
|||
HRESULT hr;
|
||||
|
||||
dpCompoundAddress.dwDataSize = sizeof( GUID );
|
||||
memcpy( &dpCompoundAddress.guidDataType, &DPAID_ServiceProvider,
|
||||
sizeof( GUID ) ) ;
|
||||
dpCompoundAddress.guidDataType = DPAID_ServiceProvider;
|
||||
dpCompoundAddress.lpData = lpcSpGuid;
|
||||
|
||||
*lplpAddrBuf = NULL;
|
||||
|
|
Loading…
Reference in New Issue