[wdmaudiodev] Re: GUID's for MMDevices Render and Capture

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 27 Jan 2010 09:57:04 -0800

Eugene Muzychenko wrote:
> Hello Tim,
>   
>> It's still perfectly valid to create "type 1" GUIDs, where you increment
>> the top set of digits to get additional GUIDs.  The Uuidgen tool will
>> give you a base if you say "uuidgen -x".
>>     
>
> Using UuidGen -x, you need to make sure it uses a valid, unique MAC
> address. If your system have virtual network adapters created by
> VMware, VBox etc., UuidCreateSequential may use their MAC addresses
> that are not unique.
>   

That's a valid point.  On the other hand, the type 1 GUID also includes
the current time in 100-nanosecond units, so the odds against producing
duplicate GUIDs are still very, very small.

-- 
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

Other related posts: