次の方法で共有


OEMKitlIoctl (Compact 2013)

10/16/2014

This function is called to handle I/O controls that are specific to KITL, including all of the VMINI IOCTLs.

Syntax

BOOL OEMKitlIoctl(
  DWORD code,
  VOID* pInBuffer,
  DWORD inSize,
  VOID* pOutBuffer,
  DWORD outSize,
  DWORD* pOutSize
);

Parameters

  • code
    Name of the IOCTL to call.
  • pInBuffer
    Pointer to the input buffer that can contain additional information associated with code.
  • inSize
    Size in bytes of pInBuffer.
  • pOutBuffer
    Pointer to the output buffer supplied by the caller.
  • outSize
    Specifies the maximum number of bytes that can be returned in pOutBuffer. The caller sets this value.
  • pOutSize
    Pointer to the number of bytes returned in pOutBuffer.

Return Value

Returns true if the function succeeds; otherwise, false.

Remarks

If you are using the common KITL library, this function is already implemented.

This function handles all KITL-related IOCTLs. For statically-linked KITL, this function should not be used.

Requirements

Header

kitl.h

Library

Kitl.lib

See Also

Reference

Required KITL Functions
VMINI IOCTLs