IeXdi2Exec::UnregisterEmbeddedBpOpCode (Windows Embedded CE 6.0)
1/5/2010
This method removes an embedded code breakpoint op code from the list of recognized op codes that was registered by RegisterEmbeddedBpOpCode.
Syntax
HRESULT UnregisterEmbeddedBpOpCode(
[in] DWORD dwOpCodeSizeInByte,
[in, size_is(dwOpCodeSizeInByte)] const BYTE * pbOpCode,
[in] DWORD dwExecMode
);
Parameters
- dwOpCodeSizeInByte
Size of the op code, in bytes.
- pbOpCode
Buffer containing the trap op code to register.
dwExecMode
Processor mode that the op code corresponds to.For example, the trap op code may be different in 16-bit mode than in 32-bit mode on processors such as ARM and MIPS that have two modes.
By convention, the processor mode should be 0 for 32-bit mode (default), and 1 for 16-bit mode.
Return Value
The following table shows return values for this method.
Value | Description |
---|---|
S_OK |
Indicates the function was successful. |
E_FAIL |
Indicates an unspecified failure. |
E_NORESAVAILABLE |
Indicates a breakpoint resource was not available and the method cannot instantiate all breakpoints. |
E_OUTOFMEMORY |
Indicates an out of memory error. |
E_INVALIDARG |
Indicates one or more invalid arguments. |
EXDI_E_COMMUNICATION |
Indicates a communication error between host driver and debugging target. |
Requirements
Header | eXDI2.h |
Library | ole32.lib, oleaut32.lib |
Windows Embedded CE | Windows CE 5.0 and later |