WMCreateCertificate function
The WMCreateCertificate function wraps the user's certificates into an object.
Syntax
HRESULT WMCreateCertificate(
_Out_ IUnknown **pUnkCert
);
Parameters
- pUnkCert [out]
Pointer to a pointer to the IUnknown interface of the newly created certificate object.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
S_OK | The function succeeded. |
E_OUTOFMEMORY | The function is unable to allocate memory for the new object. |
Remarks
This function creates an object that wraps the certificates that the user has been given. Usually there is no need to call this method; it is used only if the certificates must be supplied to another object that is using the SDK, such as the Microsoft® DirectShow® application programming interface (API).
Requirements
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Version |
Windows Media Format 7 SDK, or later versions of the SDK |
Header |
Wmsdkidl.h (include Wmsdk.h) |
Library |
Wmvcore.lib |
DLL |
Wmvcore.dll |