DSMCC  17.9.0
 All Data Structures Files Functions Typedefs
Functions | Variables
findModuleInDii_include_src.h File Reference

Common source code to find module info descriptor in DII. To be included by functions processing data in contiguous or managed (MemSeq) memory. More...

Go to the source code of this file.

Functions

 dsmAssert ((mpDiiMsg!=NULL))
 
 dsmAssert ((dataLength > 0))
 
 dsmAssert ((mpModuleInfoDescStart!=NULL))
 
 MEMPTR_OPEN (mpDiiMsg, mpModuleInfoDesc)
 
 SET_POS_REL (mpModuleInfoDesc, 6)
 
 SET_POS_REL (mpModuleInfoDesc, 12)
 
 READ_UINT16 (mpModuleInfoDesc, numModules)
 
 GET_POS (mpModuleInfoDesc, moduleDataEnd)
 
 while (numModules--)
 
 if (found)
 
 MEMPTR_CLOSE (mpModuleInfoDesc)
 

Variables

MemPtr mpModuleInfoDesc
 
U16BIT numModules
 
U16BIT currModuleId
 
MemPos moduleDataEnd = 0
 
MemPos currStartPos = 0
 
U8BIT moduleInfoLength
 
 found = FALSE
 

Detailed Description

Common source code to find module info descriptor in DII. To be included by functions processing data in contiguous or managed (MemSeq) memory.

Date
28/9/2001
Author
R Taylor

Definition in file findModuleInDii_include_src.h.