IPresentationSurface::RestrictToOutput method (presentation.h)

Restricts presentation to a specific display adapter output.

Syntax

HRESULT RestrictToOutput(
  IUnknown *output
);

Parameters

output

Type: IUnknown

An object that represents the adapter output. Only an IDXGIOutput is accepted.

Return value

Type: HRESULT

If the function succeeds, it returns S_OK; otherwise, it returns an HRESULT value that indicates the error.

Requirements

   
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header presentation.h
Library dcomp.lib
DLL dcomp.dll