ICameraControl::put_PrivacyMode
Microsoft DirectShow 9.0 |
ICameraControl::put_PrivacyMode
This topic applies only to Windows XP Service Pack 2 and later.
The put_PrivacyMode method sets the camera's privacy setting. The privacy setting controls whether the camera sensor captures video.
Syntax
HRESULT put_PrivacyMode( long Value, long Flags );
Parameters
Value
[in] Specifies one of the following values.
Value | Description |
0 | The sensor is able to capture video. |
1 | The sensor is not able to capture video. |
Flags
[in] Zero or more flags. See CameraControlFlags. If the CameraControl_Flags_Auto flag is used, the Value parameter is ignored and the camera sets the default value.
Return Values
Returns an HRESULT value.
Requirements
Header: Include Vidcap.h.
Library: Use Strmiids.lib.
See Also