When I try to list the pins I get an error ... see code below
CComPtr <IBaseFilter> pHTCFilter;
hr = pHTCFilter.CoCreateInstance(CLSID_HTCCameraFilter);
hr=pFilterGraph->AddFilter( pHTCFilter, L"HTC Source" );
IPin * m_htc_out_Pin;
CComPtr<IEnumPins> pEnum;
hr = pHTCFilter->EnumPins(&pEnum);
hr = pEnum->Reset();
hr = pEnum->Next(1, &m_htc_out_Pin, NULL); <<< returns FALSE
PIN_INFO pinInfo;
hr = (m_htc_out_Pin)->QueryPinInfo( &pinInfo );
Thanks,
Kris
Have you posted your question in the microsoft.public.pocketpc.developer
group? You will likely get an answer quicker there to your specific
question.
Regards,
--
Clinton Fitch, MVP-Mobile Devices
Clinton Fitch (Dot) Com! & HPC:Factor
http://www.clintonfitch.com
http://www.hpcfactor.com
"Kris" <Kr...@discussions.microsoft.com> wrote in message
news:1EF7D902-5F42-4CC0...@microsoft.com...
returns 0x80004002
Nai wrote:
Before enumerate the pins, try to set properties fo this source filter (Im
06-Oct-08
Before enumerate the pins, try to set properties fo this source filter (Im
talking about VCapName).
Previous Posts In This Thread:
On Friday, September 05, 2008 3:41 PM
Kri wrote:
HTC Source Filter pin access
I am working with VS2005 on a pocket pc. I am trying to access my camera with
Directshow. When I list my source filters I get "HTC Source Filter" with GUID
{ 0xA06DF275, 0xC4F3, 0x46C7, { 0xB5, 0x20, 0x3A, 0x16, 0xB3, 0xD1, 0xB8,
0xC2} }
When I try to list the pins I get an error ... see code below
CComPtr <IBaseFilter> pHTCFilter;
hr = pHTCFilter.CoCreateInstance(CLSID_HTCCameraFilter);
hr=pFilterGraph->AddFilter( pHTCFilter, L"HTC Source" );
IPin * m_htc_out_Pin;
CComPtr<IEnumPins> pEnum;
hr = pHTCFilter->EnumPins(&pEnum);
hr = pEnum->Reset();
hr = pEnum->Next(1, &m_htc_out_Pin, NULL); <<< returns FALSE
PIN_INFO pinInfo;
hr = (m_htc_out_Pin)->QueryPinInfo( &pinInfo );
Thanks,
Kris
On Friday, September 05, 2008 4:02 PM
Clinton Fitch, MVP-Mobile Devices wrote:
Kris,Have you posted your question in the microsoft.public.pocketpc.
Kris,
Have you posted your question in the microsoft.public.pocketpc.developer
group? You will likely get an answer quicker there to your specific
question.
Regards,
--
Clinton Fitch, MVP-Mobile Devices
Clinton Fitch (Dot) Com! & HPC:Factor
http://www.clintonfitch.com
http://www.hpcfactor.com
"Kris" <Kr...@discussions.microsoft.com> wrote in message
news:1EF7D902-5F42-4CC0...@microsoft.com...
On Monday, October 06, 2008 10:13 AM
Nai wrote:
EggHeadCafe - Software Developer Portal of Choice
ASP.NET - Prevent Multiple Logins Using the Cache
http://www.eggheadcafe.com/tutorials/aspnet/5b7868cf-fc4b-45e5-a75d-1c06d9a53482/aspnet--prevent-multipl.aspx