Created struct CDirectXData to encapsulate all data needed by CDirectX to do its job.
Minor change in CWin32 to clear a warning about mixing types 'bool' and 'BOOL'.