Parameters

hWnd identifies the current window of the application.

dwConversation identifies the conversation handle returned from either EHNAPPC_Allocate or EHNAPPC_ExtendedAllocate.

bFill indicates the form in which the program is to receive data. Possible values are:
  • EHNAPPC_BUFFER (0) (fill the buffer)
  • EHNAPPC_LL (1) (receive a complete or truncated logical record)

nMaxLength indicates the largest amount of data that can be accepted.

lpReceiveData points to a buffer where the data is to be received.

lpWhatReceived indicates what has been received by the client. Possible values are:
  • EHNAPPC_DATA (0)
  • EHNAPPC_DATACOMPLETE (1)
  • EHNAPPC_DATAINCOMPLETE (2)
  • EHNAPPC_RECEIVEDCONFIRM (3)
  • EHNAPPC_RECEIVEDCONFIRMSEND (4)
  • EHNAPPC_RECEIVEDCONFIRMDEALLOC (5)
  • EHNAPPC_RECEIVEDSEND (6)

lpRequestToSendRcvd points to a variable that is used to store whether the partner transaction program issued a REQUEST_TO_SEND verb. A value of TRUE (1) indicates the partner transaction program issued a REQUEST_TO_SEND verb.

lpReceiveDataLength points to a variable that is used to return the amount of data received by the client.