Share via


IMSVidStreamBufferSinkEvent2::EncryptionOn method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005.

The EncryptionOn method is called when the stream changes from not encrypted to encrypted.

Syntax

HRESULT EncryptionOn();

Return value

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK
Success.

Requirements

Requirement Value
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidStreamBufferSinkEvent2 Interface