FesfSaWriteHeader function

Writes the Application Header.

Syntax

bool

FesfSaWriteHeader(_In_ const wchar_t *Path,

                    _In_ void *SolutionHeader,

                    _In_ uint32_t SolutionHeaderSize

)

Parameters

Path [in]

A string containing the path of a file whose solution header should be written.

SolutionHeader [in]

A buffer containing the header.

SolutionHeaderSize [in]

The size of the buffer in bytes.

Return value

Returns TRUE if the header was successfully written, FALSE otherwise.

For Windows platforms, a specific status code for this function is reported with SetLastError().

For Linux platforms, the errno variable should be set to report a specific error code.

Remarks

Path is interpreted as a fully qualified path, suitable for direct evaluation.

If the new Solution Header is larger than the current one and there is no room to accommodate it in the file, then this call fails.

Examples

 

See Also

 

 

Requirements

Software version

FESF Version 1.1 (added)

Supported FESF State

FESF Not Installed ONLY

Windows Library

FesfSa.lib

Linux Library

FESFsa.a