request.h
来自「WINDOW网络变成源码 一个对开发人员十分有效的好的源码治疗哟」· C头文件 代码 · 共 29 行
H
29 行
//
// Define the data structure that will be used to pass
// database requests from the IS2ODBC DLL to DbServer.
// DbServer will fill in the sqlResult field.
//
// Note: It would be much better to use a buffer whose
// size was not hardcoded. This could be done
// by using different amounts of memory for
// commit vs. reserve, but that is beyond the
// scope of this book.
struct DbRequest
{
char sqlFilter[512];
char sqlSort[512];
char sqlResult[4096];
};
//
// Define names for shared kernel objects.
// This allows both the IS2ODBC DLL and
// the DbServer to communicate.
//
const LPCTSTR MUTEX_DB_REQUEST = _T("IS2ODBC Mutex");
const LPCTSTR EVENT_START_PROCESSING = _T("IS2ODBC Event Start Processing");
const LPCTSTR EVENT_DONE_PROCESSING = _T("IS2ODBC Event Done Processing");
const LPCTSTR FILE_DB_REQUEST = _T("IS2ODBC DbRequest Structure");
const LPCTSTR EVENT_SERVER_RUNNING = _T("IS2ODBC Server Running");
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?