Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

Gestalt Selectors and Response Values

You can pass the gestaltQD3D selector to the Gestalt function to determine information about the availability of QuickDraw 3D.

enum {
    gestaltQD3D                                 = 'qd3d'
}

Gestalt returns information to you by returning a long word in the response parameter. Currently, the returned values are defined by constants:

enum {
    gestaltQD3DNotPresent                       = 0,
    gestaltQD3DAvailable                        = 1
}

Constant descriptions

gestaltQD3DNotPresent
QuickDraw 3D is not available.
gestaltQD3DAvailable
QuickDraw 3D is available.

You can pass the gestaltQD3DVersion selector to the Gestalt function to determine the installed version of QuickDraw 3D.

enum {
    gestaltQD3DVersion                          = 'q3v '
}

Gestalt returns version information in the response parameter.


© 1997 Apple Computer, Inc.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice