|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
how to declare globally unique identifier (GUID)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 On 2005-04-01, notregister <notregis***@discussions.microsoft.com> wrote:
> Hi Imports System.Runtime.InteropServices> > 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 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]
Hashtable question
guidelines for developing an application Form question (Re-usuable code) copying data from MS-SQL to MS-Access using VB.Net How do you protect from pirating? Icon for Components SqlCommand w/ Params Select Issue Using the IN Clause Anyone know what could cause the following error messages? Print information when ANY control is used breakpoint in vb.net |
|||||||||||||||||||||||