Displays the currently used graphics device. Although you can set the preferred device using the GSDEVICEMODE system variable, it may not be supported by your hardware. In this case GSUSEDDEVICEMODE reports a different graphics device than the one set in GSDEVICEMODE.

Type:     Integer

Saved:     Temporarily during the session (read-only)

Range:     0 (Undetected), 1 (Software, BMP mode), 2 (OpenGL), 3 (OpenGL ES), 4 (Custom graphics device)

Default:     Varies

© Copyright 2023. Back2CAD Technologies LLC. All rights reserved. Kazmierczak® is a registered trademark of Kazmierczak Software GmbH. Print2CAD, CADdirect,, CAD Direct,, CAD Bot, are Trademarks of BackToCAD Technologies LLC. DWG is the name of Autodesk’s proprietary file format and technology used in AutoCAD® software and related products. Autodesk, the Autodesk logo, AutoCAD, DWG are registered trademarks or trademarks of Autodesk, Inc. All other brand names, product names, or trademarks belong to their respective holders. This website is independent of Autodesk, Inc., and is not authorized by, endorsed by, sponsored by, affiliated with, or otherwise approved by Autodesk, Inc. The material and software have been placed on this Internet site under the authority of the copyright owner for the sole purpose of viewing of the materials by users of this site. Users, press or journalists are not authorized to reproduce any of the materials in any form or by any means, electronic or mechanical, including data storage and retrieval systems, recording, printing or photocopying.