22 lines
544 B
C#
22 lines
544 B
C#
namespace LSServerService
|
|
{
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
[StructLayout(LayoutKind.Sequential, Pack=1)]
|
|
public struct StructDirectoryInfo
|
|
{
|
|
public int dwParentId;
|
|
public int dwFileId;
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst=512)]
|
|
public byte[] szName;
|
|
public int isDir;
|
|
public StructDirectoryInfo(bool autoSet)
|
|
{
|
|
this.dwParentId = this.dwFileId = this.isDir = 0;
|
|
this.szName = new byte[512];
|
|
}
|
|
}
|
|
}
|
|
|