|
The
data portion on an initialized NDS buffer has a very precise construction. For
example, in the case of searching for object attributes, NDS would return a
DSV_SEARCH operation type buffer that has been initialized
with found object and attribute data components in the data portion. There can
be only one data component selected at a time, so the buffer must be read
sequentially, one data component at a time.
getInitNDSBuffer(
) is the general routine (shown below) that is used throughout these
examples to allocate and initialize NDS buffers for various purposes.
The
large numbers refer to explanations after the code listing.
|