IGpibIntfcMessage::Write
Description
Synchronously transfers data to a device. The data to be written is in the SAFEARRAY 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 = Write(
buffer As SAFEARRAY(BYTE),
count As Long
)
C++ Prototype
HRESULT Write(
SAFEARRAY(BYTE)* buffer,
long count,
long* pRetCount
);
Parameters
buffer
The I/O data to write in an array of bytes.
count
The number of bytes to write.
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