Set Structured Field Service Condition

3270 5250 VT
Yes Yes Yes
The Set Structured Field Service Condition function passes the Query Reply data provided by the client application.
Note:
The client must call the Set Structured Field Service Condition function before invoking the Start Read SF function or the Write SF function.
The client sends the following message to set the condition.
PostMessage( hServerWnd,
             WM_DDE_POKE,
             hClientWnd,
             MAKELONG(hData, aSFCOND) );
where:
hData Identifies a handle to a Windows global memory object containing:
typedef struct tagSFSERVCOND
{
 unsigned   unused:12,          //
 unsigned   fRelease:1,         //
 unsigned   fReserved:3;        //
 int        cfFormat;           // Always CF_DSPTEXT
 WORD       uBufferSize;        // Buffer size of Read SF
 WORD       uQRLength;          // Length of Query Reply data
 char       szQueryReply[1];    // Query Reply data
} SFSERVCOND, FAR *lpSFSERVCOND;
aSFCOND Identifies the item for the Set Structured Field Service Condition function.