PC Review


Reply
Thread Tools Rate Thread

how to declare globally unique identifier (GUID)

 
 
=?Utf-8?B?bm90cmVnaXN0ZXI=?=
Guest
Posts: n/a
 
      1st Apr 2005
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
 
Reply With Quote
 
 
 
 
Tom Shelton
Guest
Posts: n/a
 
      1st Apr 2005
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]
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is fax jobid globally unique? (GUID) querylous Microsoft Windows 2000 Fax 0 28th Oct 2008 03:35 PM
Unique identifier Chris Microsoft Access Queries 1 17th Sep 2007 06:52 PM
Assigning unique identifier to unique authors =?Utf-8?B?Ymx1ZXNreQ==?= Microsoft Access Queries 5 3rd Aug 2007 09:12 PM
Unique identifier Steve Barnett Microsoft Excel Worksheet Functions 18 6th Jan 2006 11:26 AM
How to declare const Guid ? PawelF Microsoft C# .NET 4 6th Feb 2004 03:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:33 PM.