The GetKernelConnectionOptions method returns the connection options for the current kernel target.
HRESULT GetKernelConnectionOptions( [out, optional] PSTR Buffer, [in] ULONG BufferSize, [out, optional] PULONG OptionsSize );
Specifies the buffer to receive the connection options.
Specifies the size in characters of the buffer Buffer.
Receives the size in characters of the connection options. If OptionsSize is NULL, this information is not returned.
This method may also return error values. See Return Values for more details.
||The method was successful.|
||The size of the string was greater than the size of the buffer, so it was truncated to fit into the buffer.|
||The current target is not a standard live kernel target.|
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 more information about connecting to live kernel-mode targets, see Live Kernel-Mode Targets.
|Header||dbgeng.h (include Dbgeng.h)|