DXGK_VIDPN_INTERFACE::pfnAssignMultisamplingMethodSet routine
The pfnAssignMultisamplingMethodSet function assigns a set of multisampling methods to a particular video present source in a specified VidPN.
Syntax
DXGKDDI_VIDPN_ASSIGNMULTISAMPLINGMETHODSET pfnAssignMultisamplingMethodSet; NTSTATUS APIENTRY pfnAssignMultisamplingMethodSet( _In_ D3DKMDT_HVIDPN hVidPn, _In_ const D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId, _In_ const SIZE_T NumMethods, _In_ const D3DDDI_MULTISAMPLINGMETHOD *pSupportedMethodSet ) { ... }
Parameters
- hVidPn [in]
-
[in] A handle to a VidPN object. The VidPN manager previously provided this handle to the display miniport driver by calling DxgkDdiEnumVidPnCofuncModality.
- VidPnSourceId [in]
-
[in] An integer that identifies one of the video present sources associated with the VidPN object.
- NumMethods [in]
-
[in] The number of elements in the pSupportedMethodSet array.
- pSupportedMethodSet [in]
-
[in] A pointer to an array of D3DDDI_MULTISAMPLINGMETHOD structures, each of which describes a multisampling method.
Return value
The pfnAssignMultisamplingMethodSet function returns one of the following values.
| Return code | Description |
|---|---|
|
The function succeeded. |
|
The handle supplied in hVidPn was invalid. |
|
The identifier supplied in VidPnSourceId was invalid. |
|
The function failed because it was unable to allocate enough memory. |
This function might also return other error codes that are defined in Ntstatus.h.
Requirements
|
Version | Available in Windows Vista and later versions of the Windows operating systems. |
|---|---|
|
Header |
|
|
IRQL | PASSIVE_LEVEL |
See also
Send comments about this topic to Microsoft
Build date: 11/29/2012
