public static extern BOOL DuplicateHandle( HANDLE hSourceProcessHandle, HANDLE hSourceHandle, HANDLE hTargetProcessHandle, HANDLE *lpTargetHandle, DWORD dwDesiredAccess, BOOL bInheritHandle, DWORD dwOptions );
static extern DWORD WlanOpenHandle( DWORD dwClientVersion, void *pReserved, int *pdwNegotiatedVersion, HANDLE *phClientHandle );
public static extern uint NotifyRouteChange([NativeTypeName("PHANDLE")] HANDLE *Handle, [NativeTypeName("LPOVERLAPPED")] OVERLAPPED *overlapped);
public static extern HRESULT DCompositionCreateSurfaceHandle([NativeTypeName("DWORD")] uint desiredAccess, SECURITY_ATTRIBUTES *securityAttributes, HANDLE *surfaceHandle);
public HRESULT CreateSharedHandle(ID3D12DeviceChild *pObject, [NativeTypeName("const SECURITY_ATTRIBUTES *")] SECURITY_ATTRIBUTES *pAttributes, [NativeTypeName("DWORD")] uint Access, [NativeTypeName("LPCWSTR")] ushort *Name, HANDLE *pHandle) { return(((delegate * unmanaged <ID3D12Device1 *, ID3D12DeviceChild *, SECURITY_ATTRIBUTES *, uint, ushort *, HANDLE *, int>)(lpVtbl[31]))((ID3D12Device1 *)Unsafe.AsPointer(ref this), pObject, pAttributes, Access, Name, pHandle)); }
public static extern BOOL DuplicateHandle(HANDLE hSourceProcessHandle, HANDLE hSourceHandle, HANDLE hTargetProcessHandle, [NativeTypeName("LPHANDLE")] HANDLE *lpTargetHandle, [NativeTypeName("DWORD")] uint dwDesiredAccess, BOOL bInheritHandle, [NativeTypeName("DWORD")] uint dwOptions);
public static extern HRESULT CoWaitForMultipleObjects([NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("DWORD")] uint dwTimeout, [NativeTypeName("ULONG")] uint cHandles, [NativeTypeName("const HANDLE *")] HANDLE *pHandles, [NativeTypeName("LPDWORD")] uint *lpdwindex);
public void GetCryptoSessionHandle(HANDLE *pCryptoSessionHandle) { ((delegate * unmanaged <ID3D11CryptoSession *, HANDLE *, void>)(lpVtbl[11]))((ID3D11CryptoSession *)Unsafe.AsPointer(ref this), pCryptoSessionHandle); }
public HRESULT SetEventHandle(HANDLE *ph) { return(((delegate * unmanaged <ISynchronizeEvent *, HANDLE *, int>)(lpVtbl[4]))((ISynchronizeEvent *)Unsafe.AsPointer(ref this), ph)); }
public HRESULT GetDriverHandle(HANDLE *pDriverHandle) { return(((delegate * unmanaged <ID3D11VideoDecoder *, HANDLE *, int>)(lpVtbl[8]))((ID3D11VideoDecoder *)Unsafe.AsPointer(ref this), pDriverHandle)); }
public HRESULT Create(HANDLE_ACCESS_OPTIONS accessOptions, HANDLE_SHARING_OPTIONS sharingOptions, HANDLE_OPTIONS options, IOplockBreakingHandler *oplockBreakingHandler, HANDLE *interopHandle) { return(((delegate * unmanaged <IStorageItemHandleAccess *, HANDLE_ACCESS_OPTIONS, HANDLE_SHARING_OPTIONS, HANDLE_OPTIONS, IOplockBreakingHandler *, HANDLE *, int>)(lpVtbl[3]))((IStorageItemHandleAccess *)Unsafe.AsPointer(ref this), accessOptions, sharingOptions, options, oplockBreakingHandler, interopHandle)); }
public static extern BOOL DuplicateTokenEx(HANDLE hExistingToken, [NativeTypeName("DWORD")] uint dwDesiredAccess, [NativeTypeName("LPSECURITY_ATTRIBUTES")] SECURITY_ATTRIBUTES *lpTokenAttributes, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, TOKEN_TYPE TokenType, [NativeTypeName("PHANDLE")] HANDLE *phNewToken);
public static extern BOOL DuplicateToken(HANDLE ExistingTokenHandle, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, [NativeTypeName("PHANDLE")] HANDLE *DuplicateTokenHandle);
public static extern BOOL CreateRestrictedToken(HANDLE ExistingTokenHandle, [NativeTypeName("DWORD")] uint Flags, [NativeTypeName("DWORD")] uint DisableSidCount, [NativeTypeName("PSID_AND_ATTRIBUTES")] SID_AND_ATTRIBUTES *SidsToDisable, [NativeTypeName("DWORD")] uint DeletePrivilegeCount, [NativeTypeName("PLUID_AND_ATTRIBUTES")] LUID_AND_ATTRIBUTES *PrivilegesToDelete, [NativeTypeName("DWORD")] uint RestrictedSidCount, [NativeTypeName("PSID_AND_ATTRIBUTES")] SID_AND_ATTRIBUTES *SidsToRestrict, [NativeTypeName("PHANDLE")] HANDLE *NewTokenHandle);
public void GetChannelHandle(HANDLE *pChannelHandle) { ((delegate * unmanaged <ID3D11AuthenticatedChannel *, HANDLE *, void>)(lpVtbl[9]))((ID3D11AuthenticatedChannel *)Unsafe.AsPointer(ref this), pChannelHandle); }
public HRESULT GetVideoSwapchainHandle(HANDLE *phSwapchain) { return(((delegate * unmanaged <IMFMediaEngineEx *, HANDLE *, int>)(lpVtbl[72]))((IMFMediaEngineEx *)Unsafe.AsPointer(ref this), phSwapchain)); }
public static extern BOOL RegisterWaitForSingleObject([NativeTypeName("PHANDLE")] HANDLE *phNewWaitObject, HANDLE hObject, [NativeTypeName("WAITORTIMERCALLBACK")] void *Callback, [NativeTypeName("PVOID")] void *Context, [NativeTypeName("ULONG")] uint dwMilliseconds, [NativeTypeName("ULONG")] uint dwFlags);
public HRESULT CreateSharedHandle(IInspectable *pObject, [NativeTypeName("const SECURITY_ATTRIBUTES *")] SECURITY_ATTRIBUTES *pSecurityAttributes, [NativeTypeName("DWORD")] uint Access, HSTRING Name, HANDLE *pHandle) { return(((delegate * unmanaged <IDisplayDeviceInterop *, IInspectable *, SECURITY_ATTRIBUTES *, uint, HSTRING, HANDLE *, int>)(lpVtbl[3]))((IDisplayDeviceInterop *)Unsafe.AsPointer(ref this), pObject, pSecurityAttributes, Access, Name, pHandle)); }
public static extern uint GetProcessHeaps([NativeTypeName("DWORD")] uint NumberOfHeaps, [NativeTypeName("PHANDLE")] HANDLE *ProcessHeaps);
public static extern uint DavAddConnection(HANDLE *ConnectionHandle, [NativeTypeName("LPCWSTR")] ushort *RemoteName, [NativeTypeName("LPCWSTR")] ushort *UserName, [NativeTypeName("LPCWSTR")] ushort *Password, [NativeTypeName("PBYTE")] byte *ClientCert, [NativeTypeName("DWORD")] uint CertSize);
public static extern HRESULT WslLaunch([NativeTypeName("PCWSTR")] ushort *distributionName, [NativeTypeName("PCWSTR")] ushort *command, BOOL useCurrentWorkingDirectory, HANDLE stdIn, HANDLE stdOut, HANDLE stdErr, HANDLE *process);
public HRESULT Create([NativeTypeName("LPCWSTR")] ushort *fileName, HANDLE_CREATION_OPTIONS creationOptions, HANDLE_ACCESS_OPTIONS accessOptions, HANDLE_SHARING_OPTIONS sharingOptions, HANDLE_OPTIONS options, IOplockBreakingHandler *oplockBreakingHandler, HANDLE *interopHandle) { return(((delegate * unmanaged <IStorageFolderHandleAccess *, ushort *, HANDLE_CREATION_OPTIONS, HANDLE_ACCESS_OPTIONS, HANDLE_SHARING_OPTIONS, HANDLE_OPTIONS, IOplockBreakingHandler *, HANDLE *, int>)(lpVtbl[3]))((IStorageFolderHandleAccess *)Unsafe.AsPointer(ref this), fileName, creationOptions, accessOptions, sharingOptions, options, oplockBreakingHandler, interopHandle)); }
public static extern BOOL AddSIDToBoundaryDescriptor(HANDLE *BoundaryDescriptor, [NativeTypeName("PSID")] void *RequiredSid);
public HRESULT CreateSharedHandle([NativeTypeName("const SECURITY_ATTRIBUTES *")] SECURITY_ATTRIBUTES *pAttributes, [NativeTypeName("DWORD")] uint dwAccess, [NativeTypeName("LPCWSTR")] ushort *lpName, HANDLE *pHandle) { return(((delegate * unmanaged <IDXGIResource1 *, SECURITY_ATTRIBUTES *, uint, ushort *, HANDLE *, int>)(lpVtbl[13]))((IDXGIResource1 *)Unsafe.AsPointer(ref this), pAttributes, dwAccess, lpName, pHandle)); }
public HRESULT OpenSharedHandleByName([NativeTypeName("LPCWSTR")] ushort *Name, [NativeTypeName("DWORD")] uint Access, HANDLE *pNTHandle) { return(((delegate * unmanaged <ID3D12Device1 *, ushort *, uint, HANDLE *, int>)(lpVtbl[33]))((ID3D12Device1 *)Unsafe.AsPointer(ref this), Name, Access, pNTHandle)); }
public HRESULT GetSharedHandle(HANDLE *pSharedHandle) { return(((delegate * unmanaged <IDXGIResource1 *, HANDLE *, int>)(lpVtbl[8]))((IDXGIResource1 *)Unsafe.AsPointer(ref this), pSharedHandle)); }
public static extern uint DCompositionWaitForCompositorClock(uint count, [NativeTypeName("const HANDLE *")] HANDLE *handles, [NativeTypeName("DWORD")] uint timeoutInMs);
public static extern BOOL CreatePipe( HANDLE *hReadPipe, HANDLE *hWritePipe, ref SECURITY_ATTRIBUTES lpPipeAttributes, DWORD nSize );
public HRESULT Execute(HWND hwnd, [NativeTypeName("LPCWSTR")] ushort *pszVerb, HANDLE *phProcess) { return(((delegate * unmanaged <IAttachmentExecute *, HWND, ushort *, HANDLE *, int>)(lpVtbl[12]))((IAttachmentExecute *)Unsafe.AsPointer(ref this), hwnd, pszVerb, phProcess)); }
public HRESULT GetCancelEvent(HANDLE *phEvent) { return(((delegate * unmanaged <IObjectWithCancelEvent *, HANDLE *, int>)(lpVtbl[3]))((IObjectWithCancelEvent *)Unsafe.AsPointer(ref this), phEvent)); }