_IAPIEvents::onDataNamedPipe

method onDataNamedPipe.

Application messages are delivered by this callback function.

 

long onDataNamedPipe(
  long hOwnerNamedPipe,
  long raw_data,
  long data_size
);

Parameters

hOwnerNamedPipe

[in] .   Handle of named pipe object.

raw_data

[in] .   Pointer to C-String data. Client may use this data as is or convert it to BSTR.

data_size

[in] .   Size of data

Return Values

0

The client code will free the chunk of data (raw_data) with FreeString()

Negative value

The client code let the component to free the chunk of data after returning from this method.

See Also

_IAPIEvents