IFPCServer4::GetDiagnosticLoggingStatus method

Applies to: desktop apps only

The GetDiagnosticLoggingStatus method retrieves information about the status of diagnostic logging on the server.

Syntax

HRESULT GetDiagnosticLoggingStatus(
  [out]       BOOL *pfStarted,
  [out, ref]  Boolean &pfStarted,
  [out]       DWORD *pdwNumberOfRecords,
  [out, ref]  Long &pdwNumberOfRecords,
  [out]       DWORD *pdwComponentId,
  [out, ref]  Long &pdwComponentId
);
FPCServer.GetDiagnosticLoggingStatus( _
  ByRef pfStarted As BOOL, _
  ByRef pfStarted As Boolean, _
  ByRef pdwNumberOfRecords As DWORD, _
  ByRef pdwNumberOfRecords As Long, _
  ByRef pdwComponentId As DWORD, _
  ByRef pdwComponentId As Long _
)

Parameters

  • pfStarted [out]

    C++

    Required. Pointer to a BOOL value that on return indicates whether diagnostic logging is already running.

    VB

    Required. Reference to a Boolean value that on return indicates whether diagnostic logging is already running.

  • pdwNumberOfRecords [out]

    C++

    Required. Pointer to a DWORD that on return indicates the number of currently available diagnostic logging records.

    VB

    Required. Reference to a 32-bit integer that on return indicates the number of currently available diagnostic logging records.

  • pdwComponentId [out]

    C++

    Required. Pointer to a DWORD that on return indicates which logging components are on and which are off. This is deprecated in Forefront TMG, since all components are always running and cannot be turned on or off.

    VB

    Required. Reference to a 32-bit integer that on return indicates which logging components are on and which are off. This is deprecated in Forefront TMG, since all components are always running and cannot be turned on or off.

Return value

C++

This method returns S_OK if the call is successful; otherwise, it returns an error code.

VB

This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCServer

 

 

Build date: 7/12/2010