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.

37 lines
1.7 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: dvcdb.h
  6. * Content: structures, data types and functions for the
  7. * compression subsystem
  8. *
  9. * History:
  10. * Date By Reason
  11. * ==== == ======
  12. * 08/23/99 rodtoll Created
  13. * 09/08/99 rodtoll Moved the dwMaxBitsPerSecond field to the DVCOMPRESSIONINFO struct
  14. * 10/07/99 rodtoll Updated to work in Unicode
  15. * 10/29/99 rodtoll Bug #113726 - Integrate Voxware Codecs, updating to use new
  16. * pluggable codec architecture.
  17. * 03/03/2000 rodtoll Updated to handle alternative gamevoice build.
  18. *
  19. ***************************************************************************/
  20. #ifndef __DVCDB_H
  21. #define __DVCDB_H
  22. HRESULT DVCDB_LoadCompressionInfo(const WCHAR *swzBaseRegistryPath );
  23. HRESULT DVCDB_FreeCompressionInfo();
  24. HRESULT CREG_ReadAndAllocWaveFormatEx( HKEY hkeyReg, LPCWSTR path, LPWAVEFORMATEX *lpwfxFormat );
  25. HRESULT DVCDB_GetCompressionInfo( const GUID &guidType, PDVFULLCOMPRESSIONINFO *lpdvfCompressionInfo );
  26. HRESULT DVCDB_CreateConverter( const GUID &guidSrc, WAVEFORMATEX *pwfxTarget, PDPVCOMPRESSOR *pConverter );
  27. HRESULT DVCDB_CreateConverter( WAVEFORMATEX *pwfxSrcFormat, const GUID &guidTarget, PDPVCOMPRESSOR *pConverter );
  28. DWORD DVCDB_CalcUnCompressedFrameSize( const DVFULLCOMPRESSIONINFO* lpdvInfo, const WAVEFORMATEX* lpwfxFormat );
  29. HRESULT DVCDB_CopyCompressionArrayToBuffer( LPVOID lpBuffer, LPDWORD lpdwSize, LPDWORD lpdwNumElements, DWORD dwFlags );
  30. DWORD DVCDB_GetCompressionInfoSize( LPDVCOMPRESSIONINFO lpdvCompressionInfo );
  31. #endif