function [returnFlags, puFrameNumber,puElements,puFlags,pDataDest] = DataGetNext3D(puFrameNumber,puElements,puFlags,pDataDest)   
a = libpointer('uint32Ptr',puFrameNumber);                                                                        
b = libpointer('uint32Ptr',puElements);                                                                           
c = libpointer('uint32Ptr',puFlags);                                                                               
d = libpointer('voidPtr',pDataDest);                                                                             
[returnFlags,puFrameNumber,puElements,puFlags,pDataDest]=calllib('oapi','DataGetNext3D',a,b,c,d);                                                                        
[puFrameNumber] = get(a,'value');                                                                                
[puElements] = get(b,'value');                                                                                   
[puFlags] = get(c,'value');                                                                                      
[pDataDest] = get(d,'value');                                                                                     

return                                                                                                              
