IAPI::ChangeIPCMessageHeaderSize

property ChangeIPCMessageHeaderSize.

Sets a new size of the message header which is used by ScriptEZ.API.

By default without encryption algo, this header size is 10 bytes with zero-left-padding.

 

HRESULT ChangeIPCMessageHeaderSize(
  long hIPCObject,
  long new_size,
  long *pVal
);

Parameters

hIPCObject

[in] .   Handle of socket or named pipe object

new_size

[in] .   New size of the header

pVal

[out, retval] The returned value is 1 if succeeded, -1 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