The problem is that you didn't define a variable name for the D3DLIGHT9
pointer in your function declaration. You just need to do this:
HRESULT Direct3DDevice9Wrapper::GetLight(DWORD Index, D3DLIGHT9 *pLight)
{
return Direct3DDevice9->GetLight(Index, pLight);
}