Loads a dynamic link library that is signed for the protected environment.
HRESULT MFLoadSignedLibrary(
LPCWSTR pszName,
_Outptr_ IMFSignedLibrary **ppLib
)
pszName
Type: LPCWSTR
The name of the dynamic link library to load. This dynamic link library must be signed for the protected environment.
ppLib
Type: Outptr IMFSignedLibrary **
Receives a pointer to the IMFSignedLibrary interface for the library.
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.
A singlemodule load count is maintained on the dynamic link library (as it is with LoadLibrary). This load count is freed when the final release is called on the IMFSignedLibrary object.
Header: Declared in mfidl.h.
Library: Use mf.lib.