IDXGIFactory2::GetSharedResourceAdapterLuid Method

Gets the shared resource adapter

Syntax

public:
HRESULT GetSharedResourceAdapterLuid(
         HANDLE hResource,
         LUID *pLuid
)  

Parameters

hResource
Type: HANDLE 

[in] The handle for the resource.

pLuid
Type: LUID *

[out] A unique value that identifies the adapter. See LUID for a definition of the structure. LUID is defined in dxgi.h.

Return value

Type: HRESULT 

A DXGI_ERROR return code. S_OK indicates that the interface is supported, otherwise DXGI_ERROR_UNSUPPORTED is returned.

Requirements

Header: Declared in d3d11_x.h (dxgi1_2.h on other Windows platforms).

Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).

See also

IDXGIFactory2

IDXGIFactory2 Members