Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 21 of file functiontable.c.
Referenced by FoundDevice(), ListSoundDevice(), and PopulateWdmDeviceList().
{ VALIDATE_MMSYS_PARAMETER( IsValidSoundDevice(SoundDevice) ); VALIDATE_MMSYS_PARAMETER( FunctionTable ); /* Zero out the existing function table (if present) */ ZeroMemory(&SoundDevice->FunctionTable, sizeof(MMFUNCTION_TABLE)); if ( ! FunctionTable ) return MMSYSERR_INVALPARAM; /* Fill in the client-supplied functions */ CopyMemory(&SoundDevice->FunctionTable, FunctionTable, sizeof(MMFUNCTION_TABLE)); return MMSYSERR_NOERROR; }