Share via


Creating a Platform to Implement Screen Rotation

With the Platform Builder integrated development environment (IDE), you can use the New Platform Wizard to create a platform to implement screen rotation. Note that screen rotation can be implemented only if the display driver supports screen rotation.

In this procedure, you will create a platform, and add the display driver that supports screen rotation. The display driver that supports screen rotation is available from the catalog. Be sure to delete any other display drivers that are added by default when the platform is created.

If you want to use your own display driver and not the one available in the Platform Builder catalog, you must make sure that your display driver is enabled to implement screen rotation. For more details on changes to your display driver to enable screen rotation, see topic Screen Rotation.

To create a platform to implement screen rotation,

  1. In Platform Builder, from the File menu, choose New Platform. The New Platform Wizard appears.
  2. Choose Next.
  3. From Available BSPs, select CEPC: X86, and then choose Next.
  4. From Available configurations area, select Mobile Handheld.
  5. In the Platform Name box, type the name of the platform, then choose Finish.
  6. On the security warnings page, read the warnings, and choose Next.
  7. On the Completing the New Platform Wizard page, choose Finish.

To add the display driver that supports screen rotation,

  1. In Platform Builder, from the View menu, choose Workspace. Select the Featureview tab.
  2. Click the topmost node of the platform feature tree, named *<Platform Name>*features, and expand the CEPC: x86 - Device Drivers - Display.
  3. Right-click the existing display driver and in the pop-up menu that appears, choose Delete.
  4. From the catalog window, click the root node, and expand Device Drivers - Display. Drag the display driver VGA Linear (Flat) Framebuffer (Rotation Support) to your platform window.
  5. Inspect the Display node in the platform view to confirm that the necessary display driver was added to the platform.

See Also

How to Implement Screen Rotation

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.