SymbolServerSetHttpAuthHeader function

Allows adding additional HTTP authentication headers to a symbol request. The header will apply to any requests made after this function is called.

Syntax

BOOL WINAPI SymbolServerSetHttpAuthHeader (
  _In_ PCWSTR pszAuthHeader
);

Parameters

  • pszAuthHeader [in]
    The string to add as an HTTP authentication header. This string does not include the "Authorization: " part of the header.

Return value

The server can return TRUE to indicate success, or return FALSE to indicate an error. The server can call the SetLastError function to set the specific error.

Remarks

To call this function, use the LoadLibrary function to load the DLL and the GetProcAddress function to get the address of the function. The default implementation is in Symsrv.dll.

Requirements

Redistributable

DbgHelp.dll 10.0.16232.1000 or later

Header

DbgHelp.h

DLL

SymSrv.dll

See also

DbgHelp Functions