RenderingParametersUpdateHandler function
Represents the function that will handle the RenderingParametersUpdate event which notifies the client of an update to any of the DMR’s rendering control parameters.
Syntax
HRESULT RenderingParametersUpdateHandler(
_In_ IMediaRenderer *sender,
_In_ RenderingParameters arg
);
Parameters
sender [in]
A reference to the event source.arg [in]
A RenderingParameters structure.
Return value
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. |
Remarks
To register this handler with the RenderingParametersUpdate event call the add_RenderingParametersUpdate method, and to unregister it call the remove_RenderingParametersUpdate method.
Requirements
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
Mfidl.h |
Library |
Mf.lib |
DLL |
Mf.dll |