int, PyIAttach = CreateAttach(interface, flags
)
Creates an attachment
Parameters
interface : PyIID
The interface to use, or Noneflags : int
Bitmask of flags that controls how the attachment is created.Return Value
The result is a tuple of (attachmentNum, attachmentObject)