Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "DuplicateHandle" in [All]

coredll

.

Use the DuplicateHandle function to duplicate the handle. Use the CloseHandle function to close the handle. The system closes the handle automatically when the process terminates. The event object is destroyed when its last handle has been closed.

kernel32

.
Summary
.

static extern bool DuplicateHandle(IntPtr hSourceProcessHandle,

.
Documentation
[DuplicateHandle] on MSDN
.

        DuplicateHandle = 0x00000040,

.

    DuplicateHandle = &H40

Enums

.

    /// Required to duplicate a handle using DuplicateHandle.

.

    AllAccess = CreateThread Or DuplicateHandle Or QueryInformation Or SetInformation Or Terminate Or VMOperation Or VMRead Or VMWrite Or Synchronize

.

    ''' <summary>Enables usage of the process handle as either the source or target process in the DuplicateHandle function to duplicate a handle.</summary>

.

    DuplicateHandle = &H40

.

     DuplicateHandle = 0x00000040

.

     """Enables usage of the process handle as either the source or target process in the DuplicateHandle function to duplicate a handle."""


 
Access PInvoke.net directly from VS: