Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::containers::text::PUSER_INPUT_BUFFER Structure
C++
typedef struct user_input_buffer_tag {
  INDEX nHistory;
  PLINKQUEUE InputHistory;
  int bRecallBegin;
  _32 CollectionBufferLock;
  INDEX CollectionIndex;
  int CollectionInsert;
  PTEXT CollectionBuffer;
  void (__cdecl * CollectedEvent)(PTRSZVAL psv, PTEXT text);
  PTRSZVAL psvCollectedEvent;
} USER_INPUT_BUFFER, * PUSER_INPUT_BUFFER;
Members 
Description 
INDEX nHistory; 
position counter for pulling history 
PLINKQUEUE InputHistory; 
a link queue which contains the prior lines of text entered for commands. 
int bRecallBegin; 
set to TRUE when nHistory has wrapped... 
_32 CollectionBufferLock; 
A exchange-lock variable for controlling access to the history (so things aren't being read from it while it is scrolling old data out). 
INDEX CollectionIndex; 
used to store index.. for insert type operations... 
int CollectionInsert; 
flag for whether we are inserting or overwriting 
PTEXT CollectionBuffer; 
used to store partial from GatherLine 
void (__cdecl * CollectedEvent)(PTRSZVAL psv, PTEXT text); 
called when a buffer is complete. 
PTRSZVAL psvCollectedEvent; 
passed to the event callback when a line is completed 

extended command entry stuff... handles editing buffers with insert/overwrite/copy/paste/etc...

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!