On 2005-04-01, notregister <(E-Mail Removed)> wrote:
> Hi
>
> i looking for example of declaring and use of GUID, the msdn example is very
> confusing, can anyone help me?
>
> if my GUID is F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4, how do i store it in a
> variable so that later on i can use it during an API call SetupDiGetClassDevs
> from setupapi.dll
Imports System.Runtime.InteropServices
Public myGUID As New Guid ("F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4")
....
Public Declare Auto Function SetupDiGetClassDevs Lib "Setupapi.dll" _
(ByRef ClassGuid As Guid, _
ByVal Enumerator As String, _
ByVal hwndParent As IntPtr, _
ByVal Flags As Integer) As IntPtr
Anyway, should look something like that anyway

--
Tom Shelton [MVP]