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
32 lines
1.4 KiB
/*==========================================================================
|
|
*
|
|
* Copyright (C) 1999 - 1999 Microsoft Corporation. All Rights Reserved.
|
|
*
|
|
* File: devmap.h
|
|
* Content: Maps various default devices GUIDs to real guids.
|
|
*
|
|
* History:
|
|
* Date By Reason
|
|
* ==== == ======
|
|
* 11-24-99 pnewson Created
|
|
* 12-02-99 rodtoll Added new functions for mapping device IDs and finding default
|
|
* devices.
|
|
* 01/25/2000 pnewson Added DV_MapWaveIDToGUID
|
|
* 02/28/2002 rodtoll WINBUG #550105 - SECURITY: DPVOICE: Dead code
|
|
* - Removed old device mapping functions which are no longer used.
|
|
* rodtoll Fix for regression caused by TCHAR conversion (Post DirectX 8.1 work)
|
|
* - Source was updated to retrieve device information from DirectSound w/Unicode
|
|
* but routines which wanted the information needed Unicode.
|
|
*
|
|
***************************************************************************/
|
|
|
|
#ifndef _DEVMAP_H_
|
|
#define _DEVMAP_H_
|
|
|
|
extern HRESULT DV_MapCaptureDevice(const GUID* lpguidCaptureDeviceIn, GUID* lpguidCaptureDeviceOut);
|
|
extern HRESULT DV_MapPlaybackDevice(const GUID* lpguidPlaybackDeviceIn, GUID* lpguidPlaybackDeviceOut);
|
|
extern HRESULT DV_MapGUIDToWaveID( BOOL fCapture, const GUID &guidDevice, DWORD *pdwDevice );
|
|
extern HRESULT DV_MapWaveIDToGUID( BOOL fCapture, DWORD dwDevice, GUID& guidDevice );
|
|
|
|
#endif
|
|
|