Documentation ¶
Rendered for windows/amd64
Overview ¶
Package automation provides essential types for interacting with COM Automation (IDispatch).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BSTR ¶
type BSTR uintptr
BSTR is the string format used by COM Automation. They are not garbage collected and must be explicitly closed when no longer needed.
func NewBSTRFromUTF16 ¶
NewBSTR creates a new BSTR from slice us, which contains UTF-16 code units.
func NewBSTRFromUTF16Ptr ¶
NewBSTR creates a new BSTR from up, a C-style string pointer to UTF-16 code units.
func (*BSTR) Clone ¶
Clone creates a clone of bs whose lifetime becomes independent of the original. It must be explicitly closed when no longer needed.
func (*BSTR) ToUTF16Ptr ¶
ToUTF16 returns the contents of bs as C-style string pointer to UTF-16 code units.
Click to show internal directories.
Click to hide internal directories.