🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #954

Re: BCB and SAPI v5

#954
From: Bob Gonder
Date: Wed, 21 Nov 2007 20:53
23 lines
1524 bytes
Marc wrote:

> ISpStream       *cpStream;

>   hr = SPBindToFile( L"c:\\ttstemp.wav",  SPFM_CREATE_ALWAYS,
>   &cpStream,

I don't see where cpStream exists.
It is an Input variable as well as Output.

>	 & cAudioFmt.FormatId(),cAudioFmt.WaveFormatExPtr() );
> }

http://msdn2.microsoft.com/en-us/library/aa911860.aspx

inline HRESULT SPBindToFile(
  LPCWSTR pFileName,
  SPFILEMODE eMode,
  ISpStream** ppStream,
  const GUID* pFormatId = NULL,
  const WAVEFORMATEX* pWaveFormatEx = NULL,
  ULONGLONG* ullEventInterest = SPFEI_ALL_EVENTS
);
Technical Details
Message-ID: <6h59k35g5gtir23uc0evqfrenb3tgp0g2c@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!62.111.101.3.MISMATCH!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47446f75$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,67677465280073fd
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: BCB and SAPI v5
Date: Wed, 21 Nov 2007 12:53:26 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <6h59k35g5gtir23uc0evqfrenb3tgp0g2c@4ax.com>
References: <47446f75$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.147.92
X-Trace: newsgroups.borland.com 1195678403 67.77.147.92 (21 Nov 2007 12:53:23 -0700)
Lines: 25
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!62.111.101.3.MISMATCH!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail