Compartilhar via


Local Hooking (Windows CE 5.0)

Send Feedback

Local hooking is intended for:

  • Software based drivers
  • Downloadable installation packages.

In the local hooking model, the application's process space includes both the Microsoft® Direct3D® Mobile middleware (D3dm.dll) and the Direct3D Mobile driver.

Because the locally hooked drivers are not loaded into the graphics, windowing, and event subsystem (GWES), they do not have direct access to the hardware. As a result, these drivers must rely on some other graphics technology, such as DirectDraw or the Graphics Device Interface (GDI), to present rendered output to the user. Direct3D Mobile calls are synchronized with other display driver calls only if the application specifies the D3DMCREATE_MULTITHREADED flag to IDirect3DMobile::CreateDevice.

Locally hooked drivers are not required to be thread-safe. The Direct3D Mobile middleware handles all required thread synchronization issues on behalf of the driver.

It is assumed that any locally hooked driver will provide software implementations of the rendering pipeline.

The driver interface for locally hooked drivers is the same as for remotely hooked drivers.

A locally hooked driver is identified by a registry setting (see Direct3D Mobile Driver Registry Settings).

See Also

Driver Interactions with the Direct3D Mobile Middleware | Display Drivers | DirectDraw Display Drivers

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.