IMessage::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
Data to be written.
pRetCount
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, IOProtocol, SendEndEnabled, TerminationCharacter, TerminationCharacterEnabled, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, AssertTrigger, Clear, ReadSTB, Read, ReadString, Write, WriteString, IMessage Overview