Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.0 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1999-2000 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: diagnos.h
  6. * Content: Utility functions to write out diagnostic files when registry key is set.
  7. *
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 07/13/00 rodtoll Created (Bug #31468 - Add diagnostic spew to logfile to show what is failing
  12. *
  13. ***************************************************************************/
  14. #ifndef __DIAGNOS_H
  15. #define __DIAGNOS_H
  16. void Diagnostics_WriteDeviceInfo( DWORD dwLevel, const char *szDeviceName, PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA pData );
  17. HRESULT Diagnostics_DeviceInfo( GUID *pguidPlayback, GUID *pguidCapture );
  18. HRESULT Diagnostics_Begin( BOOL fEnabled, const char *szFileName );
  19. void Diagnostics_End();
  20. void Diagnostics_Write( DWORD dwLevel, const char *szFormat, ... );
  21. void Diagnostics_WriteGUID( DWORD dwLevel, GUID &guid );
  22. void Diagnositcs_WriteWAVEFORMATEX( DWORD dwLevel, PWAVEFORMATEX lpwfxFormat );
  23. #endif