Creates an IMFProtectedEnvironmentAccess object that allows content protection systems to perform a handshake with the protected environment.
HRESULT MFCreateProtectedEnvironmentAccess(
_Outptr_ IMFProtectedEnvironmentAccess **ppAccess
)
ppAccess
Type: Outptr IMFProtectedEnvironmentAccess **
Receives a pointer to the IMFProtectedEnvironmentAccess interface.
Type: HRESULTÂ
The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
| S_OK | The function succeeded. |
Refer to Media Foundation return codes.
Header: Declared in mfidl.h.
Library: Use mf.lib.