Debugging Tools for Windows |
The GetKernelConnectionOptions and GetKernelConnectionOptionsWide methods return the connection options for the current kernel target.
HRESULT
IDebugClient::GetKernelConnectionOptions(
OUT OPTIONAL PSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG OptionsSize
);
HRESULT
IDebugClient5::GetKernelConnectionOptionsWide(
OUT OPTIONAL PWSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG OptionsSize
);
#ifdef UNICODE
#define GetKernelConnectionOptionsT GetKernelConnectionOptionsWide
#else
#define GetKernelConnectionOptionsT GetKernelConnectionOptions
#endif
This method may also return error values. See Return Values for more details.
GetKernelConnectionOptions is available in all versions of IDebugClient. GetKernelConnectionOptionsWide is available in IDebugClient5 and later versions.
This method is available only for live kernel targets that are not local and not connected through eXDI.
The connection options returned are the same options used to connect to the kernel. For details on the syntax of this string, see Choosing Kernel Debugging Settings.
For more information about connecting to live kernel-mode targets, see Live Kernel-Mode Targets.
Headers: Defined in dbgeng.h. Include dbgeng.h.