[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode)]
struct DFS_INFO_2 {
[MarshalAs(UnmanagedType.LPWStr)] public string EntryPath; // Dfs name for the top of this volume
[MarshalAs(UnmanagedType.LPWStr)] public string Comment; // Comment for this volume
public int State; // State of this volume, one of DFS_VOLUME_STATE_*
public int NumberOfStorages; // Number of storages for this volume
}
Structure DFS_INFO_2
Public TODO
End Structure
None.
See sample NetDfsGetInfo