Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
Windows Mobile Supported Windows Embedded CE Supported
4/14/2010

This structure contains information to send to the input buffer of DeviceIoControlfor 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_hDevice

Device handle passed from ActivateDeviceEx.

p_hDeviceKey

Open registry handle to the driver's device key.

Remarks

If a device has an Ioctlvalue in its registry configuration, the Device Manager invokes DeviceIoControlon the device's handle with that dwIoControlCodevalue after the device's initialization routine has returned. A pointer to a read-only POST_INIT_BUFcontaining 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
Windows Mobile Windows Mobile Version 5.0 and later

See Also