Share via


POST_INIT_BUF (Windows CE 5.0)

Send Feedback

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.

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 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

OS Versions: Windows CE 1.0 and later.
Header: Devload.h.

See Also

ActivateDeviceEx | DeviceIoControl

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.