IAPI::SendNamedPipeObjectData

property SendNamedPipeObjectData.

Sends regular string data (without 0 character) to the remote peer ( client or server )

 

HRESULT SendNamedPipeObjectData(
  long hNamedPipeObject,
  BSTR pData,
  long data_size,
  long *pVal
);

Parameters

hNamedPipeObject

[in] .   Handle of named pipe object

pData

[in] .   Regular string data

data_size

[in] .   String length

pVal

[out, retval] The returned value is 0 if succeeded, other value if failed.

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