Hi,
' VB.NET declaration
Public Delegate Function CallBack( _
ByVal hwnd As Integer, _
ByVal lParam As IntPtr) As Boolean
<DllImport("user32")> _
Private Shared Function enumWindows(ByVal lpEnumFunc As CallBack,
ByVal lParam As Integer) As Integer
' Do not place any code in here
End Function
Ken
-------------------------
"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:OK**************@TK2MSFTNGP10.phx.gbl:
when you say
[DLLImport("user32")] extern static int EnumWindows(...) in c# how would
you
convert extern to VB.NET?
I have this
<DLLImport("user32")> shared EnumWindows(...) as integer
what needs changed to get extern static int working in vb? thanks
--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (
http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 263.3.0 - Release Date: 6/12/2004