[StructLayout(LayoutKind.Sequential)]
public class NetResource
{
public ResourceScope dwScope;
public ResourceType dwType;
public ResourceDisplayType dwDisplayType;
public ResourceUsage dwUsage;
public string lpLocalName;
public string lpRemoteName;
public string lpComment;
public string lpProvider;
}
VB.Net Definition:
<StructLayout(LayoutKind.Sequential)> _
Public Class NetResource
Public dwScope As ResourceScope
Public dwType As ResourceType
Public dwDisplayType As ResourceDisplayType
Public dwUsage As ResourceUsage
Public lpLocalName As String
Public lpRemoteName As String
Public lpComment As String
Public lpProvider As String
End Class