GetColorDepth

Top  Previous  Next

 

GetColorDepth

 

Syntax

GetColorDepth([out] ColorDepthVar);

 

Description

To get the desktop color depth.

 

Parameters

       ColorDepthVar

               The variable name to receive the color depth information

 

Return

       1 = success

       0 = failed

       -1 = FSCommands cannot be found

 

Example

 

FSCommand("GetColorDepth", "ColorDepthVar");