Contents

CGSessionCopyCurrentDictionary()

Returns information about the caller’s window server session.

Declaration

func CGSessionCopyCurrentDictionary() -> CFDictionary?

Return Value

A window server session dictionary, or NULL if the caller is not running within a Quartz GUI session or the window server is disabled. You should release the dictionary when you are finished using it. For information about the key-value pairs in this dictionary, see Window Server Session Properties.

See Also

Functions