/*
*******************************************************************************
* Copyright (c) 1996-97 Digi International Inc., All Rights Reserved          *
*                                                                             *
* This  software  contains  proprietary  and  confidential   information   of *
* Digi International  Inc.   By  accepting  transfer  of this copy, Recipient *
* agrees to retain this software in  confidence,  to  prevent  disclosure  to *
* others,  and  to make no  use of this software other than that for which it *
* was delivered.  This is an unpublished copyright work  Digi   International *
* Inc.    Except   as   permitted   by  federal  law,  17 USC 117, copying is *
* strictly prohibited.                                                        *
*                                                                             *
* Digi  International  Inc.  CONFIDENTIAL  -   (Digi    International    Inc. *
* Confidential  when   combined   with   the   aggregated  modules  for  this *
* product) OBJECT CODE ONLY SOURCE MATERIALS                                  *
*                                                                             *
* (C) COPYRIGHT Digi International Inc. 1996-97                               *
*                                                                             *
* All Rights Reserved                                                         *
*                                                                             *
* US   Government   Users   Restricted   Rights   -   Use,   duplication   or *
* disclosure  restricted by GSA ADP Schedule Contract with Digi International *
* Inc.                                                                        *
*                                                                             *
*******************************************************************************

// RegIni.h

// This file contains all the registry params stores in
// HKEY_CURRENT_USER/Software/<c_pszKeyManufacturer>

Revision History:

   $History: RegINI.h $
 * 
 * *****************  Version 4  *****************
 * User: Rodgerb      Date: 2/14/97    Time: 9:52a
 * Updated in $/Components/Windows/NT/Sync/rev2diag
 * 1) added refresh thread 
 * 2) remember window positions of summay and capture windows
 * 
 * *****************  Version 3  *****************
 * User: Rodgerb      Date: 1/27/97    Time: 1:19p
 * Updated in $/Components/Windows/NT/Sync/rev2diag
 * 1) documentation
 * 2) added some new params to Physical layer stats
*/

// HKEY_CURRENT_USER/Software/<c_pszKeyManufacturer>/<c_pszKeySettings>/

// pretty much all stuff in registry will be in here
#define c_pszKeySettings					TEXT("Settings")

// DWORD - RefreshInterval update rate in seconds
// 0 = update as often as possible, (DWORD)-1 manual update, default = 1
#define	c_pszValueRefreshInterval TEXT("RefreshInterval")
#define cDefaultRefreshInterval		1

// size in bytes of frame buffer used to hold trace frames
// default = 1 meg
#define	c_pszValueBufferSize			TEXT("BufferSize")
const DWORD cDefaultBufferSize =	1024*1024;

// size in bytes of amount of trace frame to keep in buffer
// don't make this value too small, less than 64 is not a good idea
// default = 0, 0 is used to mean "full frame"
#define	c_pszValueFrameSize				TEXT("FrameSize")
const DWORD cDefaultFrameSize	=		0; // full frame

// Comments for CDataSource's use their names as the reg value name
#define cDefaultDataSourceComment TEXT("")

// the last item selected in IDW_DataSource combo box is written out
// so that th next time SpyGlass is run it can be reselected as default
#define	c_pszValueLastDataSource	TEXT("LastDataSource")

// the size of a trace capture window and the size of each of the three panes
// are stored so that new trace capture window we be sized by default to the
// last size the user left it
// all the defaults are calulated
#define c_pszValueListPaneHeight	TEXT("ListPaneHeight")
#define c_pszValueTreePaneHeight	TEXT("TreePaneHeight")
#define c_pszValueBytePaneHeight	TEXT("BytePaneHeight")

#define c_pszKeyTraceWndPlacement	TEXT("TraceWnd")
#define c_pszKeyDSWndPlacement		TEXT("DataSourceWnd")

#define	c_pszValueCmdShow					TEXT("wp.showCmd")
#define	c_pszValuePosFlags				TEXT("wp.flags")
#define	c_pszValueMinPosX					TEXT("wp.ptMinPosition.x")
#define	c_pszValueMinPosY					TEXT("wp.ptMinPosition.y")
#define	c_pszValueMaxPosX					TEXT("wp.ptMaxPosition.x")
#define	c_pszValueMaxPosY					TEXT("wp.ptMaxPosition.y")
#define	c_pszValuePosLeft					TEXT("wp.left")
#define	c_pszValuePosRight				TEXT("wp.right")
#define	c_pszValuePosTop					TEXT("wp.top")
#define	c_pszValuePosBottom				TEXT("wp.bottom")

// this param is not currently exposed to the user
// it is the maximum number of packet requests sent to the driver
// at a time. this param can be used to tweak performance of a trace
// increased values use increaed memory
// DO NOT make this value less than 2
#define	c_pszValueEventSize				TEXT("EventSize")
#define cDefaultEventSize					100
