Previous PageTable Of Contents../index.htmlIndexNext Page

gfdRead( )

Description | Example

Name:

int gfdRead (int handle, char *buffer, int size, int *bytesread)

Inputs:

int handle

   · Valid pipe handle returned from gfdMakeNmPipe or gfdOpen and connected with gfdConnectNmPipe.

 

int size

   · Specifies the number of bytes to be read from the pipe.

Outputs:

int *bytesread

   · Points to the variable that receives the number of bytes read from the pipe.

 

char *buffer

   · Points to the buffer that receives the data.

Returns:

GFD_ACCESS_DENIED

   · Pipe is not in correct state.

 

GFD_INVALID_HANDLE

   · Wrong pipe handle.

 

GFD_NOT_INSTALLED

   · Dispatcher is not running.

 

GFD_SUCCESS

   · Successful.

Includes:

gfdmsg.h
gfdipc.h

 

Top Of PageDescription

The gfdRead( ) function reads bytes of data, up to a specified number, from a pipe into a buffer. gfdRead may read fewer than the specified number of bytes if fewer are available. The return value is GFD_SUCCESS if the function is successful.

Top Of PageExample


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2000, Dialogic Corporation
All rights reserved
This page generated January, 2002