Trait windows::Win32::System::Diagnostics::Debug::Extensions::IDebugClient8_Impl
pub trait IDebugClient8_Impl: Sized {
Show 95 methods
// Required methods
fn AttachKernel(&self, flags: u32, connectoptions: &PCSTR) -> Result<()>;
fn GetKernelConnectionOptions(
&self,
buffer: PSTR,
buffersize: u32,
optionssize: *mut u32,
) -> Result<()>;
fn SetKernelConnectionOptions(&self, options: &PCSTR) -> Result<()>;
fn StartProcessServer(
&self,
flags: u32,
options: &PCSTR,
reserved: *const c_void,
) -> Result<()>;
fn ConnectProcessServer(&self, remoteoptions: &PCSTR) -> Result<u64>;
fn DisconnectProcessServer(&self, server: u64) -> Result<()>;
fn GetRunningProcessSystemIds(
&self,
server: u64,
ids: *mut u32,
count: u32,
actualcount: *mut u32,
) -> Result<()>;
fn GetRunningProcessSystemIdByExecutableName(
&self,
server: u64,
exename: &PCSTR,
flags: u32,
) -> Result<u32>;
fn GetRunningProcessDescription(
&self,
server: u64,
systemid: u32,
flags: u32,
exename: PSTR,
exenamesize: u32,
actualexenamesize: *mut u32,
description: PSTR,
descriptionsize: u32,
actualdescriptionsize: *mut u32,
) -> Result<()>;
fn AttachProcess(
&self,
server: u64,
processid: u32,
attachflags: u32,
) -> Result<()>;
fn CreateProcessA(
&self,
server: u64,
commandline: &PCSTR,
createflags: u32,
) -> Result<()>;
fn CreateProcessAndAttach(
&self,
server: u64,
commandline: &PCSTR,
createflags: u32,
processid: u32,
attachflags: u32,
) -> Result<()>;
fn GetProcessOptions(&self) -> Result<u32>;
fn AddProcessOptions(&self, options: u32) -> Result<()>;
fn RemoveProcessOptions(&self, options: u32) -> Result<()>;
fn SetProcessOptions(&self, options: u32) -> Result<()>;
fn OpenDumpFile(&self, dumpfile: &PCSTR) -> Result<()>;
fn WriteDumpFile(&self, dumpfile: &PCSTR, qualifier: u32) -> Result<()>;
fn ConnectSession(&self, flags: u32, historylimit: u32) -> Result<()>;
fn StartServer(&self, options: &PCSTR) -> Result<()>;
fn OutputServers(
&self,
outputcontrol: u32,
machine: &PCSTR,
flags: u32,
) -> Result<()>;
fn TerminateProcesses(&self) -> Result<()>;
fn DetachProcesses(&self) -> Result<()>;
fn EndSession(&self, flags: u32) -> Result<()>;
fn GetExitCode(&self) -> Result<u32>;
fn DispatchCallbacks(&self, timeout: u32) -> Result<()>;
fn ExitDispatch(&self, client: Option<&IDebugClient>) -> Result<()>;
fn CreateClient(&self) -> Result<IDebugClient>;
fn GetInputCallbacks(&self) -> Result<IDebugInputCallbacks>;
fn SetInputCallbacks(
&self,
callbacks: Option<&IDebugInputCallbacks>,
) -> Result<()>;
fn GetOutputCallbacks(&self) -> Result<IDebugOutputCallbacks>;
fn SetOutputCallbacks(
&self,
callbacks: Option<&IDebugOutputCallbacks>,
) -> Result<()>;
fn GetOutputMask(&self) -> Result<u32>;
fn SetOutputMask(&self, mask: u32) -> Result<()>;
fn GetOtherOutputMask(&self, client: Option<&IDebugClient>) -> Result<u32>;
fn SetOtherOutputMask(
&self,
client: Option<&IDebugClient>,
mask: u32,
) -> Result<()>;
fn GetOutputWidth(&self) -> Result<u32>;
fn SetOutputWidth(&self, columns: u32) -> Result<()>;
fn GetOutputLinePrefix(
&self,
buffer: PSTR,
buffersize: u32,
prefixsize: *mut u32,
) -> Result<()>;
fn SetOutputLinePrefix(&self, prefix: &PCSTR) -> Result<()>;
fn GetIdentity(
&self,
buffer: PSTR,
buffersize: u32,
identitysize: *mut u32,
) -> Result<()>;
fn OutputIdentity(
&self,
outputcontrol: u32,
flags: u32,
format: &PCSTR,
) -> Result<()>;
fn GetEventCallbacks(&self) -> Result<IDebugEventCallbacks>;
fn SetEventCallbacks(
&self,
callbacks: Option<&IDebugEventCallbacks>,
) -> Result<()>;
fn FlushCallbacks(&self) -> Result<()>;
fn WriteDumpFile2(
&self,
dumpfile: &PCSTR,
qualifier: u32,
formatflags: u32,
comment: &PCSTR,
) -> Result<()>;
fn AddDumpInformationFile(&self, infofile: &PCSTR, type: u32) -> Result<()>;
fn EndProcessServer(&self, server: u64) -> Result<()>;
fn WaitForProcessServerEnd(&self, timeout: u32) -> Result<()>;
fn IsKernelDebuggerEnabled(&self) -> Result<()>;
fn TerminateCurrentProcess(&self) -> Result<()>;
fn DetachCurrentProcess(&self) -> Result<()>;
fn AbandonCurrentProcess(&self) -> Result<()>;
fn GetRunningProcessSystemIdByExecutableNameWide(
&self,
server: u64,
exename: &PCWSTR,
flags: u32,
) -> Result<u32>;
fn GetRunningProcessDescriptionWide(
&self,
server: u64,
systemid: u32,
flags: u32,
exename: PWSTR,
exenamesize: u32,
actualexenamesize: *mut u32,
description: PWSTR,
descriptionsize: u32,
actualdescriptionsize: *mut u32,
) -> Result<()>;
fn CreateProcessWide(
&self,
server: u64,
commandline: &PCWSTR,
createflags: u32,
) -> Result<()>;
fn CreateProcessAndAttachWide(
&self,
server: u64,
commandline: &PCWSTR,
createflags: u32,
processid: u32,
attachflags: u32,
) -> Result<()>;
fn OpenDumpFileWide(&self, filename: &PCWSTR, filehandle: u64) -> Result<()>;
fn WriteDumpFileWide(
&self,
filename: &PCWSTR,
filehandle: u64,
qualifier: u32,
formatflags: u32,
comment: &PCWSTR,
) -> Result<()>;
fn AddDumpInformationFileWide(
&self,
filename: &PCWSTR,
filehandle: u64,
type: u32,
) -> Result<()>;
fn GetNumberDumpFiles(&self) -> Result<u32>;
fn GetDumpFile(
&self,
index: u32,
buffer: PSTR,
buffersize: u32,
namesize: *mut u32,
handle: *mut u64,
type: *mut u32,
) -> Result<()>;
fn GetDumpFileWide(
&self,
index: u32,
buffer: PWSTR,
buffersize: u32,
namesize: *mut u32,
handle: *mut u64,
type: *mut u32,
) -> Result<()>;
fn AttachKernelWide(
&self,
flags: u32,
connectoptions: &PCWSTR,
) -> Result<()>;
fn GetKernelConnectionOptionsWide(
&self,
buffer: PWSTR,
buffersize: u32,
optionssize: *mut u32,
) -> Result<()>;
fn SetKernelConnectionOptionsWide(&self, options: &PCWSTR) -> Result<()>;
fn StartProcessServerWide(
&self,
flags: u32,
options: &PCWSTR,
reserved: *const c_void,
) -> Result<()>;
fn ConnectProcessServerWide(&self, remoteoptions: &PCWSTR) -> Result<u64>;
fn StartServerWide(&self, options: &PCWSTR) -> Result<()>;
fn OutputServersWide(
&self,
outputcontrol: u32,
machine: &PCWSTR,
flags: u32,
) -> Result<()>;
fn GetOutputCallbacksWide(&self) -> Result<IDebugOutputCallbacksWide>;
fn SetOutputCallbacksWide(
&self,
callbacks: Option<&IDebugOutputCallbacksWide>,
) -> Result<()>;
fn GetOutputLinePrefixWide(
&self,
buffer: PWSTR,
buffersize: u32,
prefixsize: *mut u32,
) -> Result<()>;
fn SetOutputLinePrefixWide(&self, prefix: &PCWSTR) -> Result<()>;
fn GetIdentityWide(
&self,
buffer: PWSTR,
buffersize: u32,
identitysize: *mut u32,
) -> Result<()>;
fn OutputIdentityWide(
&self,
outputcontrol: u32,
flags: u32,
format: &PCWSTR,
) -> Result<()>;
fn GetEventCallbacksWide(&self) -> Result<IDebugEventCallbacksWide>;
fn SetEventCallbacksWide(
&self,
callbacks: Option<&IDebugEventCallbacksWide>,
) -> Result<()>;
fn CreateProcess2(
&self,
server: u64,
commandline: &PCSTR,
optionsbuffer: *const c_void,
optionsbuffersize: u32,
initialdirectory: &PCSTR,
environment: &PCSTR,
) -> Result<()>;
fn CreateProcess2Wide(
&self,
server: u64,
commandline: &PCWSTR,
optionsbuffer: *const c_void,
optionsbuffersize: u32,
initialdirectory: &PCWSTR,
environment: &PCWSTR,
) -> Result<()>;
fn CreateProcessAndAttach2(
&self,
server: u64,
commandline: &PCSTR,
optionsbuffer: *const c_void,
optionsbuffersize: u32,
initialdirectory: &PCSTR,
environment: &PCSTR,
processid: u32,
attachflags: u32,
) -> Result<()>;
fn CreateProcessAndAttach2Wide(
&self,
server: u64,
commandline: &PCWSTR,
optionsbuffer: *const c_void,
optionsbuffersize: u32,
initialdirectory: &PCWSTR,
environment: &PCWSTR,
processid: u32,
attachflags: u32,
) -> Result<()>;
fn PushOutputLinePrefix(&self, newprefix: &PCSTR) -> Result<u64>;
fn PushOutputLinePrefixWide(&self, newprefix: &PCWSTR) -> Result<u64>;
fn PopOutputLinePrefix(&self, handle: u64) -> Result<()>;
fn GetNumberInputCallbacks(&self) -> Result<u32>;
fn GetNumberOutputCallbacks(&self) -> Result<u32>;
fn GetNumberEventCallbacks(&self, eventflags: u32) -> Result<u32>;
fn GetQuitLockString(
&self,
buffer: PSTR,
buffersize: u32,
stringsize: *mut u32,
) -> Result<()>;
fn SetQuitLockString(&self, string: &PCSTR) -> Result<()>;
fn GetQuitLockStringWide(
&self,
buffer: PWSTR,
buffersize: u32,
stringsize: *mut u32,
) -> Result<()>;
fn SetQuitLockStringWide(&self, string: &PCWSTR) -> Result<()>;
fn SetEventContextCallbacks(
&self,
callbacks: Option<&IDebugEventContextCallbacks>,
) -> Result<()>;
fn SetClientContext(
&self,
context: *const c_void,
contextsize: u32,
) -> Result<()>;
fn OpenDumpFileWide2(
&self,
filename: &PCWSTR,
filehandle: u64,
alternatearch: u32,
) -> Result<()>;
}
Required Methods§
fn AttachKernel(&self, flags: u32, connectoptions: &PCSTR) -> Result<()>
fn GetKernelConnectionOptions( &self, buffer: PSTR, buffersize: u32, optionssize: *mut u32, ) -> Result<()>
fn SetKernelConnectionOptions(&self, options: &PCSTR) -> Result<()>
fn StartProcessServer( &self, flags: u32, options: &PCSTR, reserved: *const c_void, ) -> Result<()>
fn ConnectProcessServer(&self, remoteoptions: &PCSTR) -> Result<u64>
fn DisconnectProcessServer(&self, server: u64) -> Result<()>
fn GetRunningProcessSystemIds( &self, server: u64, ids: *mut u32, count: u32, actualcount: *mut u32, ) -> Result<()>
fn GetRunningProcessSystemIdByExecutableName( &self, server: u64, exename: &PCSTR, flags: u32, ) -> Result<u32>
fn GetRunningProcessDescription( &self, server: u64, systemid: u32, flags: u32, exename: PSTR, exenamesize: u32, actualexenamesize: *mut u32, description: PSTR, descriptionsize: u32, actualdescriptionsize: *mut u32, ) -> Result<()>
fn AttachProcess( &self, server: u64, processid: u32, attachflags: u32, ) -> Result<()>
fn CreateProcessA( &self, server: u64, commandline: &PCSTR, createflags: u32, ) -> Result<()>
fn CreateProcessAndAttach( &self, server: u64, commandline: &PCSTR, createflags: u32, processid: u32, attachflags: u32, ) -> Result<()>
fn GetProcessOptions(&self) -> Result<u32>
fn AddProcessOptions(&self, options: u32) -> Result<()>
fn RemoveProcessOptions(&self, options: u32) -> Result<()>
fn SetProcessOptions(&self, options: u32) -> Result<()>
fn OpenDumpFile(&self, dumpfile: &PCSTR) -> Result<()>
fn WriteDumpFile(&self, dumpfile: &PCSTR, qualifier: u32) -> Result<()>
fn ConnectSession(&self, flags: u32, historylimit: u32) -> Result<()>
fn StartServer(&self, options: &PCSTR) -> Result<()>
fn OutputServers( &self, outputcontrol: u32, machine: &PCSTR, flags: u32, ) -> Result<()>
fn TerminateProcesses(&self) -> Result<()>
fn DetachProcesses(&self) -> Result<()>
fn EndSession(&self, flags: u32) -> Result<()>
fn GetExitCode(&self) -> Result<u32>
fn DispatchCallbacks(&self, timeout: u32) -> Result<()>
fn ExitDispatch(&self, client: Option<&IDebugClient>) -> Result<()>
fn CreateClient(&self) -> Result<IDebugClient>
fn GetInputCallbacks(&self) -> Result<IDebugInputCallbacks>
fn SetInputCallbacks( &self, callbacks: Option<&IDebugInputCallbacks>, ) -> Result<()>
fn GetOutputCallbacks(&self) -> Result<IDebugOutputCallbacks>
fn SetOutputCallbacks( &self, callbacks: Option<&IDebugOutputCallbacks>, ) -> Result<()>
fn GetOutputMask(&self) -> Result<u32>
fn SetOutputMask(&self, mask: u32) -> Result<()>
fn GetOtherOutputMask(&self, client: Option<&IDebugClient>) -> Result<u32>
fn SetOtherOutputMask( &self, client: Option<&IDebugClient>, mask: u32, ) -> Result<()>
fn GetOutputWidth(&self) -> Result<u32>
fn SetOutputWidth(&self, columns: u32) -> Result<()>
fn GetOutputLinePrefix( &self, buffer: PSTR, buffersize: u32, prefixsize: *mut u32, ) -> Result<()>
fn SetOutputLinePrefix(&self, prefix: &PCSTR) -> Result<()>
fn GetIdentity( &self, buffer: PSTR, buffersize: u32, identitysize: *mut u32, ) -> Result<()>
fn OutputIdentity( &self, outputcontrol: u32, flags: u32, format: &PCSTR, ) -> Result<()>
fn GetEventCallbacks(&self) -> Result<IDebugEventCallbacks>
fn SetEventCallbacks( &self, callbacks: Option<&IDebugEventCallbacks>, ) -> Result<()>
fn FlushCallbacks(&self) -> Result<()>
fn WriteDumpFile2( &self, dumpfile: &PCSTR, qualifier: u32, formatflags: u32, comment: &PCSTR, ) -> Result<()>
fn AddDumpInformationFile(&self, infofile: &PCSTR, type: u32) -> Result<()>
fn EndProcessServer(&self, server: u64) -> Result<()>
fn WaitForProcessServerEnd(&self, timeout: u32) -> Result<()>
fn IsKernelDebuggerEnabled(&self) -> Result<()>
fn TerminateCurrentProcess(&self) -> Result<()>
fn DetachCurrentProcess(&self) -> Result<()>
fn AbandonCurrentProcess(&self) -> Result<()>
fn GetRunningProcessSystemIdByExecutableNameWide( &self, server: u64, exename: &PCWSTR, flags: u32, ) -> Result<u32>
fn GetRunningProcessDescriptionWide( &self, server: u64, systemid: u32, flags: u32, exename: PWSTR, exenamesize: u32, actualexenamesize: *mut u32, description: PWSTR, descriptionsize: u32, actualdescriptionsize: *mut u32, ) -> Result<()>
fn CreateProcessWide( &self, server: u64, commandline: &PCWSTR, createflags: u32, ) -> Result<()>
fn CreateProcessAndAttachWide( &self, server: u64, commandline: &PCWSTR, createflags: u32, processid: u32, attachflags: u32, ) -> Result<()>
fn OpenDumpFileWide(&self, filename: &PCWSTR, filehandle: u64) -> Result<()>
fn WriteDumpFileWide( &self, filename: &PCWSTR, filehandle: u64, qualifier: u32, formatflags: u32, comment: &PCWSTR, ) -> Result<()>
fn AddDumpInformationFileWide( &self, filename: &PCWSTR, filehandle: u64, type: u32, ) -> Result<()>
fn GetNumberDumpFiles(&self) -> Result<u32>
fn GetDumpFile( &self, index: u32, buffer: PSTR, buffersize: u32, namesize: *mut u32, handle: *mut u64, type: *mut u32, ) -> Result<()>
fn GetDumpFileWide( &self, index: u32, buffer: PWSTR, buffersize: u32, namesize: *mut u32, handle: *mut u64, type: *mut u32, ) -> Result<()>
fn AttachKernelWide(&self, flags: u32, connectoptions: &PCWSTR) -> Result<()>
fn GetKernelConnectionOptionsWide( &self, buffer: PWSTR, buffersize: u32, optionssize: *mut u32, ) -> Result<()>
fn SetKernelConnectionOptionsWide(&self, options: &PCWSTR) -> Result<()>
fn StartProcessServerWide( &self, flags: u32, options: &PCWSTR, reserved: *const c_void, ) -> Result<()>
fn ConnectProcessServerWide(&self, remoteoptions: &PCWSTR) -> Result<u64>
fn StartServerWide(&self, options: &PCWSTR) -> Result<()>
fn OutputServersWide( &self, outputcontrol: u32, machine: &PCWSTR, flags: u32, ) -> Result<()>
fn GetOutputCallbacksWide(&self) -> Result<IDebugOutputCallbacksWide>
fn SetOutputCallbacksWide( &self, callbacks: Option<&IDebugOutputCallbacksWide>, ) -> Result<()>
fn GetOutputLinePrefixWide( &self, buffer: PWSTR, buffersize: u32, prefixsize: *mut u32, ) -> Result<()>
fn SetOutputLinePrefixWide(&self, prefix: &PCWSTR) -> Result<()>
fn GetIdentityWide( &self, buffer: PWSTR, buffersize: u32, identitysize: *mut u32, ) -> Result<()>
fn OutputIdentityWide( &self, outputcontrol: u32, flags: u32, format: &PCWSTR, ) -> Result<()>
fn GetEventCallbacksWide(&self) -> Result<IDebugEventCallbacksWide>
fn SetEventCallbacksWide( &self, callbacks: Option<&IDebugEventCallbacksWide>, ) -> Result<()>
fn CreateProcess2( &self, server: u64, commandline: &PCSTR, optionsbuffer: *const c_void, optionsbuffersize: u32, initialdirectory: &PCSTR, environment: &PCSTR, ) -> Result<()>
fn CreateProcess2Wide( &self, server: u64, commandline: &PCWSTR, optionsbuffer: *const c_void, optionsbuffersize: u32, initialdirectory: &PCWSTR, environment: &PCWSTR, ) -> Result<()>
fn CreateProcessAndAttach2( &self, server: u64, commandline: &PCSTR, optionsbuffer: *const c_void, optionsbuffersize: u32, initialdirectory: &PCSTR, environment: &PCSTR, processid: u32, attachflags: u32, ) -> Result<()>
fn CreateProcessAndAttach2Wide( &self, server: u64, commandline: &PCWSTR, optionsbuffer: *const c_void, optionsbuffersize: u32, initialdirectory: &PCWSTR, environment: &PCWSTR, processid: u32, attachflags: u32, ) -> Result<()>
fn PushOutputLinePrefix(&self, newprefix: &PCSTR) -> Result<u64>
fn PushOutputLinePrefixWide(&self, newprefix: &PCWSTR) -> Result<u64>
fn PopOutputLinePrefix(&self, handle: u64) -> Result<()>
fn GetNumberInputCallbacks(&self) -> Result<u32>
fn GetNumberOutputCallbacks(&self) -> Result<u32>
fn GetNumberEventCallbacks(&self, eventflags: u32) -> Result<u32>
fn GetQuitLockString( &self, buffer: PSTR, buffersize: u32, stringsize: *mut u32, ) -> Result<()>
fn SetQuitLockString(&self, string: &PCSTR) -> Result<()>
fn GetQuitLockStringWide( &self, buffer: PWSTR, buffersize: u32, stringsize: *mut u32, ) -> Result<()>
fn SetQuitLockStringWide(&self, string: &PCWSTR) -> Result<()>
fn SetEventContextCallbacks( &self, callbacks: Option<&IDebugEventContextCallbacks>, ) -> Result<()>
fn SetClientContext( &self, context: *const c_void, contextsize: u32, ) -> Result<()>
fn OpenDumpFileWide2( &self, filename: &PCWSTR, filehandle: u64, alternatearch: u32, ) -> Result<()>
Object Safety§
This trait is not object safe.