Compartir a través de


POST_INIT_BUF (Compact 2013)

3/26/2014

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

See Also

Reference

Device Manager Structures
ActivateDeviceEx
DeviceIoControl