IAPI::SetDataToDDEServer

property SetDataToDDEServer.

Pokes string data to a DDE server through the transaction XTYP_POKE

 

HRESULT SetDataToDDEServer(
  long hDde,
  BSTR Item,
  BSTR data,
  long *pVal
);

Parameters

hDde

[in] .   Handle of DDE connection

Item

[in] .   DDE command

data

[in] .   String data

pVal

[out, retval] The returned value is

0 (DDE_FNOTPROCESSED)

0x8000 (DDE_FACK) if  OK

other error codes

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI