Share via


POST_INIT_BUF (Windows Embedded CE 6.0)

1/6/2010

This structure contains information to send to the input buffer of DeviceIoControl for the post-initialization IOCTL. This is necessary for backward compatibility only; it is no longer needed.

Syntax

struct _POST_INIT_BUF {
  HANDLE p_hDevice;
  HKEY p_hDeviceKey;
} POST_INIT_BUF, *PPOST_INIT_BUF;

Members

  • p_hDeviceKey
    Open registry handle to the driver's device key.

Remarks

If a device has an Ioctl value in its registry configuration, the Device Manager invokes DeviceIoControl on the device's handle with that dwIoControlCode value after the device's initialization routine has returned. A pointer to a read-only POST_INIT_BUF containing the device's initialization information will be passed to the device in the IOCTL's lpInBuffer, and the size of the structure will be in nInBufferSize.

Requirements

Header devload.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Device Manager Structures
ActivateDeviceEx
DeviceIoControl