Supported Browsers Home   
GA_getCRTCTimings Previous   
GA_getDaysLeft Next   
External Functions Up   

GA_getCurrentRef2d

Gets a copy of the current SNAP reference rasteriser for the specified device index.

Declaration

REF2D_driver * NAPI GA_getCurrentRef2d(
    N_int32 deviceIndex)

Prototype In

snap/graphics.h

Parameters

deviceIndex

Index of the device to obtain the SNAP reference rasteriser for

 

Return Value

Pointer to current SNAP reference rasteriser on success, NULL on failure.

Description

This returns a copy of the current SNAP reference rasteriser driver for the specified device index. This function will return NULL if the driver has not been loaded (ie: SciTech Display Doctor is not the primary display driver in the system). The primary purpose of this function is to allow operating system utilities and applications to access a copy of the existing, shared SNAP driver used by the display driver in the system.

Note:    Do not call GA_unloadRef2d with the value returned from this function!!

See Also

GA_loadRef2d, GA_getCurrentDriver

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com