OEMKDIoctl (Compact 2013)

10/16/2014

This IOCTL serves as the Platform Builder kernel debugger interface to the Kernel Debugger IOCTLs and is a prerequisite for support of the IOCTLs.

Syntax

BOOL OEMKDIoctl(
  DWORD dwCode, 
  LPVOID pBuf, 
  DWORD cbSize 
);

Parameters

  • dwCode
    [in] Specifies the function that the kernel debugger requested.

    This parameter can be set to one of the values in Kernel Debugger IOCTLs.

  • pBuf
    [out] Pointer to a buffer that allocates space for a KD_BPINFO structure.
  • cbSize
    [in] Size of the buffer pointed to by pBuf.

Return Value

Returns true on success; otherwise, false.

Remarks

The OEM implements this IOCTL. The kernel debugger calls this function. This function is a restrictive form of the KernelIoControl routine. The context in which the kernel debugger calls this function requires that the OEM operate on the hardware only and does not perform system calls.

If you implement OEMKDIoctl, set the pfnKDIoctl member of OEMGLOBAL to point to this function.

This function is not exposed to any application. The functionality is currently restricted to the kernel debugger.

Requirements

Header

pkfuncs.h

Library

OEMMain.lib or OEMMain_StaticKITL.lib

See Also

Reference

Optional OAL Functions
OEMInit