I'm new to .net and just upgraded a vb6 project. I'm fixing upgrade problems but ran into an issue I can't figure out. I know that "as any" isn't allowed any more. But I have a function declaration that passes a structure and I can't figure out how to declare it for .net. Here's the function. LicInfo is a structure. Any ideas?

Public Declare Function GMW_GetLicenseInfo Lib "gm7s32.dll" (ByRef LicInfo As Any) As Integer