IOpeek

Top  Previous  Next

Queries the order cue.

With this routine the order cue can be questioned whether still orders stand in the cue. Besides, the kind of the orders which are questioned can be distinguished with constants.

Parametre

pipes (PIOPIPES) [IN]

The trading pipes gives the issue canal.

readahead (int) [IN]

Has readahead the value TRUE becomes is checked whether there are even other orders.

art (int) [IN]

With the following constants the kind of the orders after which is checked is described.

Result

(CMD *) [OUT]

As a result a pointer on the structure CMD zurückgeliefert which contains the order becomes but a ZERO.

Declaration

#include "ausgabe.h"

 

CMD * DLLENTRY IOpeek (

PIOPIPES pipes,

int readahead,

int art

);

Constants

ART_COMMAND 1

ART_DATA 2