tzservices/tzserver/test/Integration/dstscripts/ServerMsgSender.ini
author fimarlaht2 <>
Mon, 18 Oct 2010 15:01:14 +0300
branchRCL_3
changeset 85 32f887d619a0
parent 0 2e3d3ce01487
permissions -rw-r--r--
Bug 3556 - Not possible to restore factory settings

//---------------------------------------------------------------------------
// Defines the data used in messages sent to the TZ server. 
// 
// Meaning of the ini file keys are:
// Function: The function number that defines what request is sent.
//
// Val1, Val2, Val3, Val4: Up to 4 4-byte values that are combined into a 
//     16 byte buffer that is sent as one argument in the message.
//
// NumArgs: Specifies how many arguments are used. Some messages expect more
//     than 1 argument and the server will leave if it doesn't get them. The 
//     same data specified in the Val's is used for each argument.
//---------------------------------------------------------------------------

[Msg1]
Function = 1000    // ESetTimeZone
Val1 = 1           // Reference id
Val2 = -1          // Size invalid.

[Msg2]
Function = 15      // EIsDaylightSavingOn
Val1 = 1           // Reference id
Val2 = 1100000000  // Size invalid. Max is KMaxInt /2. 
Val3 = 0
NumArgs = 3

[Msg3]
Function = 6       // EGetLocalEncodedTimeZoneRules
Val1 = -50000      // Size is invalid.

[Msg4]
Function = 8       // EGetForeignEncodedTimeZoneRules
Val1 = -50000      // Size is invalid.

[Msg5]
Function = 5       // EGetForeignEncodedTimeZoneRulesSize
Val1 = 1           // Reference id.
Val2 = -1          // Size invalid.
NumArgs = 3        // This message wants 3 arguments.

[Msg6]
Function = 2       // EConvertForeignZoneTime
Val1 = 1           // Reference id
Val2 = -1          // Size invalid.
NumArgs = 3        // This message wants 3 arguments.

// Note: Val2-4 and NumArgs is ignored by test step for this message. 
[Msg7]
Function = 14      // EGetOffsetsForTimeZoneIds
Val1 = 0           // Size invalid. 

[Msg8]
Function = 14      // EGetOffsetsForTimeZoneIds
Val1 = 540000000   // Size invalid. Max size is KMaxTInt / 4.