6.4 WFMGetTraceLevel

HRESULT WFMGetTraceLevel( hService, lpdwTraceLevel )

Returns the trace level associated with the specified hService (at run time). See WFMSetTraceLevel.

Parameters HSERVICE hService

Handle to the service provider as returned by WFSOpen or WFSAsyncOpen.

LPDWORD lpdwTraceLevel

Pointer to the value defining the current trace level (returned parameter).

Mode Immediate

Comments This function returns the current tracing levels in the XFS Manager and the service provider specified by hService. See WFMSetTraceLevel.

Error Codes If the function return is not WFS_SUCCESS, it is one of the following error conditions:

WFS_ERR_INVALID_HSERVICE
The hService parameter is not a valid service handle.
WFS_ERR_INVALID_POINTER
A pointer parameter does not point to accessible memory.
WFS_ERR_NOT_STARTED
The application has not previously performed a successful WFSStartUp.
WFS_ERR_OP_IN_PROGRESS
A blocking operation is in progress on the thread; only WFSCancelBlockingCall and WFSIsBlocking are permitted at this time.

See Also WFMSetTraceLevel, WFSOpen, WFSAsyncOpen