VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



'Get Current Process and Current ProcessID using GetCurrentProcess and GetCurrentProcessId API

by Karthikeyan (187 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Tue 23rd January 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

'Get Current Process and Current ProcessID using GetCurrentProcess and GetCurrentProcessId API

API Declarations


Private Declare Function GetCurrentProcessId Lib "kernel32" () As Long

Rate 'Get Current Process and Current ProcessID using GetCurrentProcess and GetCurrentProcessId API



'http://www.geocities.com/marskarthik
'http://marskarthik.virtualave.net
'Email: [email protected]
Private Sub Form_Load()
MsgBox "Current Process is " & Hex(GetCurrentProcess) & Chr(13) & _
"Current Process ID is " & Hex(GetCurrentProcessId)
End
End Sub

Download this snippet    Add to My Saved Code

'Get Current Process and Current ProcessID using GetCurrentProcess and GetCurrentProcessId API Comments

No comments have been posted about 'Get Current Process and Current ProcessID using GetCurrentProcess and GetCurrentProcessId API. Why not be the first to post a comment about 'Get Current Process and Current ProcessID using GetCurrentProcess and GetCurrentProcessId API.

Post your comment

Subject:
Message:
0/1000 characters