[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.Device1.OpenSharedResource1

OpenSharedResource1 Method

OpenSharedResource1<T>(IntPtr)

Gives a device access to a shared resource that is referenced by name and that was created on a different device. You must have previously created the resource as shared and specified that it uses NT handles (that is, you set the SharedNthandle flag).

Declaration
public T OpenSharedResource1<T>(IntPtr resourceHandle) where T : ComObject
Parameters
Type Name Description
IntPtr resourceHandle
Returns
Type Description
T
Type Parameters
Name Description
T

OpenSharedResource1<T>(string, SharedResourceFlags)

Gives a device access to a shared resource that is referenced by name and that was created on a different device. You must have previously created the resource as shared and specified that it uses NT handles (that is, you set the SharedNthandle flag).

Declaration
public T OpenSharedResource1<T>(string name, SharedResourceFlags desiredAccess) where T : ComObject
Parameters
Type Name Description
string name
SharedResourceFlags desiredAccess
Returns
Type Description
T
Type Parameters
Name Description
T

OpenSharedResource1(IntPtr, Guid)

HRESULT ID3D11Device1::OpenSharedResource1([In] void* hResource,[In] const GUID& returnedInterface,[Out] void** ppResource)

Declaration
public IntPtr OpenSharedResource1(IntPtr hResource, Guid returnedInterface)
Parameters
Type Name Description
IntPtr hResource
Guid returnedInterface
Returns
Type Description
IntPtr