Leaked source code of windows server 2003
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.

32 lines
1.4 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1999 - 1999 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: devmap.h
  6. * Content: Maps various default devices GUIDs to real guids.
  7. *
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 11-24-99 pnewson Created
  12. * 12-02-99 rodtoll Added new functions for mapping device IDs and finding default
  13. * devices.
  14. * 01/25/2000 pnewson Added DV_MapWaveIDToGUID
  15. * 02/28/2002 rodtoll WINBUG #550105 - SECURITY: DPVOICE: Dead code
  16. * - Removed old device mapping functions which are no longer used.
  17. * rodtoll Fix for regression caused by TCHAR conversion (Post DirectX 8.1 work)
  18. * - Source was updated to retrieve device information from DirectSound w/Unicode
  19. * but routines which wanted the information needed Unicode.
  20. *
  21. ***************************************************************************/
  22. #ifndef _DEVMAP_H_
  23. #define _DEVMAP_H_
  24. extern HRESULT DV_MapCaptureDevice(const GUID* lpguidCaptureDeviceIn, GUID* lpguidCaptureDeviceOut);
  25. extern HRESULT DV_MapPlaybackDevice(const GUID* lpguidPlaybackDeviceIn, GUID* lpguidPlaybackDeviceOut);
  26. extern HRESULT DV_MapGUIDToWaveID( BOOL fCapture, const GUID &guidDevice, DWORD *pdwDevice );
  27. extern HRESULT DV_MapWaveIDToGUID( BOOL fCapture, DWORD dwDevice, GUID& guidDevice );
  28. #endif