Jump to content

AVAILDATA: Difference between revisions

From EDM2
Anakor (talk | contribs)
New
 
Anakor (talk | contribs)
m Format
Line 6: Line 6:
=== Type ===
=== Type ===


typedef struct _AVAILDATA
{
  [[OS2 API:DataType:USHORT|USHORT]] cbpipe;
  [[OS2 API:DataType:USHORT|USHORT]] cbpipe;
  [[OS2 API:DataType:USHORT|USHORT]] cbmessage;
  [[OS2 API:DataType:USHORT|USHORT]] cbmessage;
} AVAILDATA;
 
==== C Declaration Method ====
 
typedef struct


=== Fields ===
=== Fields ===

Revision as of 17:08, 26 May 2005

AVAILDATA

Four-byte buffer in which the system returns the number of bytes that were available in the named pipe.

Type

USHORT cbpipe;
USHORT cbmessage;

C Declaration Method

typedef struct

Fields

cbpipe    Number of bytes that were buffered in the pipe, including the
          message-header bytes and bytes that have been examined.
cbmessage Number of bytes in the current message. A value of 0 indicates
          a byte-stream pipe.