bool Write() { Conn->Write((char*) Protocol, sizeof(Protocol), 0); WriteUShort(Command); WriteULong(Status.Status); WriteUChar(Flags); WriteUShort(Flags2); Conn->Write((char*) Pad, sizeof(Pad), 0); WriteUShort(Tid); WriteUShort(Pid); WriteUShort(Uid); WriteUShort(Mid); WriteUChar(WordCount); if (ParameterWords) { Conn->Write((char*) ParameterWords, sizeof(ushort)*WordCount, 0); } WriteUChar(ByteCount); if (Buffer) { Conn->Write((char*) Buffer, sizeof(uchar)*ByteCount, 0); } return true; }
void TIniFile::WriteULongDateTime(const wxString &Section, const wxString &Ident, wxDateTime Value) { WriteULong(Section, Ident, Value.GetTicks()); }