VGetDepth



 
Name
  VGetDepth - returns the current visual depth of 3DVIEWNIX.
 
Synopsis
  VGetDepth(current_depth)
  unsigned int *current_depth;          /*RETURN*/
 
Description
  VGetDepth returns the current visual depth of 3DVIEWNIX.
 
Return Value
  0 - work successfully.
 
Parameters
  current_depth - the current depth of 3DVIEWNIX windows.
 
Side Effects
  None.
 
Entry Conditions
  VCreateWindows and VSetVisualClass should be earlier, else VGetDepth
prints an error message to the standard error stream, produces a core
dump file and exits from the current process.
 
Related Functions
WriteData, VSetVisualClass, VGetVisual.