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 Parameters
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
Returns
Type Parameters
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