Locks a range of vertex or texel sample data and obtains a pointer to the location in buffer memory.
HRESULT LockBuffer( UINT Start, UINT NumSamples, FLOAT ** ppData );
float fData[NumberSamples][NumberChannels][NumberCoefficients]
If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned:
D3DERR_INVALIDCALLHeader: Declared in D3dx9mesh.h.
ID3DXPRTBuffer::GetNumChannels, ID3DXPRTBuffer::GetNumCoeffs, ID3DXPRTBuffer::GetNumSamples