CWTTLogger::CreateLogDeviceCallback method
Reserved for internal use only. The CreateLogDeviceCallback method is called by the parser after servicing the CreateLogDevice method.
Syntax
HRESULT CreateLogDeviceCallback(
PVOID pvObj,
DWORD tnNav,
DWORD wttDevType,
PVOID pParams
);
Parameters
pvObj
[in] A pointer to the callback object.tnNav
[in] The tree navigation command. This parameter can be one of the following values: TREE_NAV_CREATE_CHILDTREE_NAV_SKIP_CHILDTREE_NAV_GOTO_PARENTwttDevType
[in] The log device type. This parameter can be one of the following values: WTT_LOGDEVICE_LOCALPUBWTT_LOGDEVICE_FILEWTT_LOGDEVICE_CONSOLEWTT_LOGDEVICE_DEBUGGERWTT_LOGDEVICE_SPYWINWTT_LOGDEVICE_NETPUBWTT_LOGDEVICE_NETSUBWTT_LOGDEVICE_FILTERWTT_LOGDEVICE_TACTICSWTT_LOGDEVICE_PLAINLOGWTT_LOGDEVICE_SECURELOGWTT_LOGDEVICE_CUSTOMpParams
[in] An array of named parameters.
Return value
CreateLogDeviceCallback returns one of the following values:
Return code | Description |
---|---|
S_OK | The operation was successful. |
S_FALSE | The operation was successful but the last device has been detached, which has triggered a rollup. |
HRESULT | The operation failed. You should use the FAILED macro to check HRESULT values. |
Requirements
Header |
Wttlogger.h |
Library |
Library:WTTLog.dll |
See also
Build date: 9/14/2012