RtfwDeleteMonitorSession

RtfwDeleteMonitorSession deletes the specified RTX64 Monitoring session folder.

Syntax

bool RtfwDeleteMonitorSession(
    const TCHAR * session
);

Parameters

session

A pointer to the name of the monitoring session folder to delete. This must be simple name with no '\' characters that matches the name of a monitoring session folder in the session parent folder configured by RtfwSetMonitorConfiguration.

Return Value

The function returns true if it succeeds. Otherwise, it returns false. Call GetLastError for additional error information.

Possible error codes:

Error Code Meaning
ERROR_SHARING_VIOLATION Monitoring is started and a session folder is in use by the RTX64 Subsystem, causing this function to fail.

Requirements

Minimum Required Version RTX64 3.4
Header RtfwAPI.h
Library RtfwAPI.lib

See Also:

RtfwSetMonitorConfiguration

RtfwDeleteAllMonitorSessions