CheckWorkSetPaths example demonstrates the use of WorkSet and DGN file and folder related APIS for auditing of WorkSet.
The tool performs basic auditing of the Active WorkSet's MS_DEF and MS_CELL variables.