Z
zzhdi
Unregistered / Unconfirmed
GUEST, unregistred user!
struct P_BUFFER
{
ULONG AId;
union
{
struct
{
USHORT TmpCode : 6;
USHORT Reserved : 10;
};
struct
{
USHORT Fin : 1;
USHORT Syn : 1;
USHORT Action : 8;
};
};
ULONG Time;
ULONG SourceDate;
ULONG DestinationData;
union
{
ULONG Id;
struct
{
ULONG aPort: 16;
ULONG bPort : 16;
};
};
ULONG DataBytes;
};
这样的C代码如何转换为pascal 代码
{
ULONG AId;
union
{
struct
{
USHORT TmpCode : 6;
USHORT Reserved : 10;
};
struct
{
USHORT Fin : 1;
USHORT Syn : 1;
USHORT Action : 8;
};
};
ULONG Time;
ULONG SourceDate;
ULONG DestinationData;
union
{
ULONG Id;
struct
{
ULONG aPort: 16;
ULONG bPort : 16;
};
};
ULONG DataBytes;
};
这样的C代码如何转换为pascal 代码