directsound.DirectSoundCreate

PyIUnknown = DirectSoundCreate(guid, unk )

Creates and initializes a new object that supports the IDirectSound interface.

Parameters

guid=None : PyIID

Address of the GUID that identifies the sound device. The value of this parameter must be one of the GUIDs returned by DirectSoundEnumerate, or None for the default device.

unk=None : PyIUknown

The IUnknown for COM aggregation.