SetDotStuffingOnWrites function (filehc.h)

Enables dot-stuffing properties on the write path of the file handle cache of the message.

Syntax

FILEHC_EXPORT BOOL SetDotStuffingOnWrites(
  [in] FIO_CONTEXT *pContext,
  [in] BOOL        fEnable,
  [in] BOOL        fStripDots
);

Parameters

[in] pContext

A pointer to an FIO_CONTEXT structure that contains context information.

[in] fEnable

Specifies whether dot stuffing is available. If FALSE, all dot-stuffing behavior is turned off.

[in] fStripDots

Specifies whether occurrences of "\r\n." are converted to "\r\n" within the message. If TRUE, "\r\n." is converted to "\r\n" (unstuffing or stripping). If FALSE, "\r\n." is converted to "\r\n.." (stuffing).

Return value

Returns TRUE if the function succeeds; otherwise, it is FALSE.

Requirements

Requirement Value
Target Platform Windows
Header filehc.h
Library Fcachdll.lib
DLL Fcachdll.dll

See also

FIO_CONTEXT