IMFPMPHost::LockProcess method (mfidl.h)

Blocks the protected media path (PMP) process from ending.

Syntax

HRESULT LockProcess();

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

When this method is called, it increments the lock count on the PMP process. For every call to this method, the application should make a corresponding call to IMFPMPHost::UnlockProcess, which decrements the lock count. When the PMP process is ready to exit, it waits for about 3 seconds, or until the lock count reaches zero, before exiting.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfidl.h
Library Mfuuid.lib

See also

IMFPMPHost

PMP Media Session

Protected Media Path