Creating a custom plugin

So I think I got the DataDrop working. But how do I get the data so I can read the binary? Inside the header of the file that I will drop I have all necessary data to define the sample rate, num samples etc. and afterwards I have a huge array of samples.

FMOD_RESULT F_CALLBACK Ginsu_Synth_DspSetParamData(FMOD_DSP_STATE* dsp, int index, void* data, unsigned int length)
{
	GinsuSynth* state = (GinsuSynth*)dsp->plugindata;
	FMOD_DSP_LOG(dsp, FMOD_DEBUG_LEVEL_ERROR, "Ginsu_Synth_DspSetParamData", "Text", "");



	return FMOD_ERR_INVALID_PARAM;
}