Export (0) Print
Expand All

SymbolServerCallback callback function

[This function is not supported and may be altered or unavailable in the future.]

An entry point to the symbol server DLL.

The PSYMBOLSERVERCALLBACKPROC type defines a pointer to this callback function. SymbolServerCallback is a placeholder for the library-defined function name.

Syntax


BOOL CALLBACK SymbolServerCallback(
  _In_  UINT_PTR action,
  _In_  ULONG64 data,
  _In_  ULONG64 context
);

Parameters

action [in]

The action code. This parameter can be one of the following values.

ValueMeaning
SSRVACTION_EVENT
3

Provide debug trace information. The data parameter is a pointer to an IMAGEHLP_CBA_EVENT structure.

DbgHelp 6.0 and earlier:  This value is not supported.

SSRVACTION_QUERYCANCEL
2

Cancel the file copy. The data parameter is a ULONG64 value. If this value is zero, continue the operation. Otherwise, cancel the operation.

DbgHelp 6.0 and earlier:  This value is not supported.

SSRVACTION_SIZE
5

The data parameter is the size of the file to be provided by the system.

SSRVACTION_TRACE
1

Provide debug trace information. The data parameter is a text string.

 

data [in]

The format of this parameter depends on the value of the action parameter.

context [in]

The context information provided by calling SymbolServerSetOptions with SSRVOPT_SETCONTEXT.

Return value

To indicate success, return TRUE.

To indicate failure, return FALSE and call the SetLastError function to indicate an error condition. If you do not handle a particular action code, you should also return FALSE. (Returning TRUE in this case may have unintended consequences.)

Requirements

Redistributable

DbgHelp.dll 5.1 or later

Header

DbgHelp.h

See also

DbgHelp Functions
IMAGEHLP_CBA_EVENT

 

 

Community Additions

ADD
Show:
© 2014 Microsoft