IGpibIntfcMessage::WriteString

Description

Synchronously transfers data to a device. The data to be written is in the BSTR parameter buffer. This function returns only when the transfer terminates. Only one synchronous write function can occur at any one time.

VB Prototype

value As Long = WriteString(
  buffer As String
)

C++ Prototype

HRESULT WriteString(
  BSTR buffer,
  long* pRetCount
);

Parameters

buffer

The data to write in a string.

pRetCount

Returns the number of bytes written.

Return Value

Refer to the table of return codes.

See Also

ComponentVersion, SpecVersion, HardwareInterfaceName, HardwareInterfaceNumber, HardwareInterfaceType, LockState, OptionString, ProgID, ResourceName, SessionType, SoftwareManufacturerID, SoftwareManufacturerName, Timeout, LastStatus, SendEndEnabled, TerminationCharacter, TerminationCharacterEnabled, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, AssertTrigger, Read, ReadString, Write, WriteString, IGpibIntfcMessage Overview