Share via


Set0 Property

The Set0 property is the interface to the ISoftUSBPhysicalDescriptorSet0 interface.

This property is read/write.

Syntax

HRESULT put_Set0(
  [in]           ISoftUSBPhysicalDescriptorSet0 *pSet0
);

HRESULT putref_Set0(
  [in]           ISoftUSBPhysicalDescriptorSet0 *pSet0
);

HRESULT get_Set0(
  [out, retval]  ISoftUSBPhysicalDescriptorSet0 **ppSet0
);

Property Value

A pointer to the new ISoftUSBPhysicalDescriptorSet0 interface that is associated with this interface.

Error Codes

Set0 returns one of the following values:

This property can also return many standard COM return values.

Name Meaning
S_OK

The operation succeeded.

E_POINTER

The ppSet0 parameter was an invalid pointer.

Examples

The following VBScript code example shows how to get the Set0 property of the interface.

'Create a physical descriptor 
Dim PhysicalDesc 
Set PhysicalDesc = CreateObject("SOFTHIDUSBK.SoftUSBPhysicalDescriptor")

'Get the physical descriptor Set0
Dim Set0
Set0=  PhysicalDesc.Set0

 

 

Send comments about this topic to Microsoft

Build date: 9/21/2010