Hi, Neil -
DataWindows don't have class definitions, so you cannot use the FindClassDefinition PowerScript function as you would for say, a window, to obtain the full name of the library where it resides.
Chris is correct that the LibraryDirectory or LibraryDirectoryEx PowerScript function can be used to list the contents of a library, but you need to know the name of the library.
From code, if you don't know the name(s) of the library(-ies), first use the GetLibraryList PowerScript function to obtain a comma-separated list of the files (including paths) in the search path of the application.
Then, as Chris suggests, for each library, use the LibraryDirectory or LibraryDirectoryEx PowerScript functions to obtain a list of the DataWindows within the library.
Regards, John