Question about stream class property set

Dear all,

Do you know where can I find sample to access standard property
(videoprocamp, cameracontrol…) from user mode?

I know how to define customize property set in minidriver.
I also know how to access these properties from user mode.

For customized property we can write
hr = gcap.pVCap->QueryInterface(IID_IKsPropertySet,(void **)&pPS);
hr = pPS->Get(STATIC_PROPSETID_LVCAM, PID_VENDOR_ID,
&Data,sizeof(KSPROPERTY_CUSTOM_PROP_S),
&Data,sizeof(KSPROPERTY_CUSTOM_PROP_S), &nLength);

Do you know how to access videoprocamp property from user mode?

Regards,
Paul May

> Do you know how to access videoprocamp property from user mode?

By using COM property pages mechanism described in ActiveX Controls
documentation.

Max

Hi Maxim,

Thanks for your reply.
In fact, what I like to do is access specified property
through codes instead of showing the property page.

All suggestion is welcomed.

Regards,
Paul May

> In fact, what I like to do is access specified property

through codes instead of showing the property page.

One of the IOCTLs can be used for it. See KS documentation.
Also I think you will be able to do this by user-mode DirectShow COM
interfaces.

Max