Skip to content

Latest commit

 

History

History
86 lines (72 loc) · 2.58 KB

nf-mfidl-imfpmpserver-lockprocess.md

File metadata and controls

86 lines (72 loc) · 2.58 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mfidl.IMFPMPServer.LockProcess
IMFPMPServer::LockProcess (mfidl.h)
Blocks the protected media path (PMP) process from ending. (IMFPMPServer.LockProcess)
9a25abfb-5038-4869-ad70-1ae52e8cf599
IMFPMPServer interface [Media Foundation]
LockProcess method
IMFPMPServer.LockProcess
IMFPMPServer::LockProcess
LockProcess
LockProcess method [Media Foundation]
LockProcess method [Media Foundation]
IMFPMPServer interface
mf.imfpmpserver_lockprocess
mfidl/IMFPMPServer::LockProcess
mf\imfpmpserver_lockprocess.htm
mf
9a25abfb-5038-4869-ad70-1ae52e8cf599
12/05/2018
9a25abfb-5038-4869-ad70-1ae52e8cf599, IMFPMPServer interface [Media Foundation],LockProcess method, IMFPMPServer.LockProcess, IMFPMPServer::LockProcess, LockProcess, LockProcess method [Media Foundation], LockProcess method [Media Foundation],IMFPMPServer interface, mf.imfpmpserver_lockprocess, mfidl/IMFPMPServer::LockProcess
mfidl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Mfuuid.lib
Windows
19H1
IMFPMPServer::LockProcess
mfidl/IMFPMPServer::LockProcess
c++
APIRef
kbSyntax
COM
mfuuid.lib
mfuuid.dll
IMFPMPServer.LockProcess

IMFPMPServer::LockProcess

-description

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

-returns

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

-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 IMFPMPServer::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.

-see-also

IMFPMPServer