IOCTL_STREAM_INSTANTIATE (Compact 2013)

3/26/2014

This I/O control message sets the stream type for a given pin. Send this message with DeviceIoControl.

Syntax

BOOL DeviceIoControl(
    HANDLE hDevice,           // handle to the device
    DWORD dwIoControlCode,    // use IOCTL_STREAM_INSTANTIATE
    LPVOID lpInBuffer,        // pointer to input buffer
    DWORD nInBufferSize,      // input buffer size
    LPVOID lpOutBuffer,       // pointer to output buffer
    DWORD nOutBufferSize,     // output buffer size
    LPDWORD lpBytesReturned,  // number of bytes returned
    OVERLAPPED lpOverlapped   // pointer to OVERLAPPED structure
);

Parameters

  • hDevice
    [in] Handle to the device.
  • dwIoControlCode
    [in] The control code for the operation. Use IOCTL_STREAM_INSTANTIATE for this operation.
  • lpInBuffer
    [in] Pointer to a pin’s identifier.
  • nInBufferSize
    [in] Set to size of lpInBuffer.
  • lpOutBuffer
    [in] A pointer to a handle to the message queue that will be used for asynchronous buffer transfers between the driver and the client.
  • nOutBufferSize
  • lpBytesReturned
  • lpOverlapped

Requirements

Header

csmedia.h

See Also

Reference

Camera Driver IOCTLs
DeviceIoControl