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.

29 lines
1.2 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. *
  16. ***************************************************************************/
  17. #ifndef _DEVMAP_H_
  18. #define _DEVMAP_H_
  19. extern HRESULT DV_MapCaptureDevice(const GUID* lpguidCaptureDeviceIn, GUID* lpguidCaptureDeviceOut);
  20. extern HRESULT DV_MapPlaybackDevice(const GUID* lpguidPlaybackDeviceIn, GUID* lpguidPlaybackDeviceOut);
  21. extern HRESULT DV_LegacyGetDefaultDeviceID( BOOL fCapture, DWORD *pdwDeviceID );
  22. extern HRESULT DV_CheckDeviceGUID( BOOL fCapture, const GUID &guidDevice );
  23. extern HRESULT DV_MapGUIDToWaveID( BOOL fCapture, const GUID &guidDevice, DWORD *pdwDevice );
  24. extern HRESULT DV_MapWaveIDToGUID( BOOL fCapture, DWORD dwDevice, GUID& guidDevice );
  25. #endif