Set Structured Field Service Condition
| 3270 | 5250 | VT |
| Yes | No | No |
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,
PackDDElParam(WM_DDE_POKE,
(hData, aSFCOND) );where:
- hData
- Identifies a handle to a Windows global memory object containing:
typedef struct tagSFSERVCOND { unsigned char poke[(sizeof(DDEPOKE)-1)]; unsigned short uBufferLength; /* Buffer size of Read_SF unsigned short uQRLength; /* Length of Query Reply dat unsigned char szQueryReply[1]; /* Query Reply data } SFSERVCOND; typedef union tagDDE_SFSERVCOND { DDEPOKE DDEpoke; SFSERVCOND DDEcond; } DDE_SFSERVCOND, *lpDDE_SFSERVCOND; - aSFCOND
- Identifies the item for the Set Structured Field Service Condition function.