⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ssceerr30.h

📁 修正了广为流传的RDA例子中的错误 记得link里加上commctrl.lib coredll.lib use mfc in a share dll 就能正常编译了
💻 H
📖 第 1 页 / 共 5 页
字号:
//=============================================================================
// Microsoft SQL Server Compact Edition 
//
// Copyright (c)  Microsoft Corporation. All rights reserved.
//
// Component: Common files
// 
// File:  ssceerr30.h
//
// File Comments:   SQL Server Compact Edition error codes.
//=============================================================================

#ifndef SSCEERR30_INCLUDED
#define SSCEERR30_INCLUDED

//  HRESULTS
//  Values are 32 bit values layed out as follows:
//
//   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
//   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
//  +---+-+-+-----------------------+-------------------------------+
//  |Sev|C|R|     Facility          |               Code            |
//  +---+-+-+-----------------------+-------------------------------+
//
//  where
//
//      Sev - is the severity code    
//
//          00 - Success
//          01 - Informational
//          10 - Warning
//          11 - Error
//
//      C - is the Customer code flag
//
//      R - is a reserved bit
//
//      Facility - is the facility code
//
//      Code - is the facility's status code
//
//-----------------------------------------------------------------------------

// ****************************************************************************
// NOTE: THIS FILE IS PARSED BY SQLDRIVER - PLEASE DO THE FOLLOWING:
// ****************************************************************************
//
// 1. DO NOT put an error (or description) on more than one line
// 2. DO NOT include " in the description - this screws things up 
// 3. Make sure the comment is at the end of a line and has a space 
//    before the text ("// ")
// 4. All Errors should document error parameters after the error string 
//    in this format [#,#,#,s,s,s]
//    [,,,,,] == no error parameters for this error. 
// 5. DO NOT REMOVE // DEAD error codes; Everytime you add a new error, make 
//    sure the number hasn't been used in the past; otherwise some user apps 
//    could break;
//
// ****************************************************************************

// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
//                              M I N O R   C O D E S
//
//  These are codes paired with a major code of E_FAIL for OLE/DB exposure.
//
//  SQL CE Range         (25000-30000)
//  OLEDB HRESULT Range  (3584-3805) i.e. (0x0E00-0x0EDD)
//
// ****************************************************************************
// NOTE : Our error number range is limited to the SQL Server error number 
//        range, Which is 25000 to 30000. DO NOT ADD ANY ERRORS ABOVE OR
//        BELOW THIS RANGE! 
//        Even though OLEDB HRESULT is of type LONG it is stored as USHORT 
//        in the error resource DLL string table. So this range (3584-3805) 
//        is also reserved!
// ****************************************************************************
//
//  SE Minor Range:             25000 -- 25499
//
//  QP Minor Range:             25500 -- 26999
//
//      25500 -- 25699  :   Compile errors
//      25700 -- 25899  :   Execute errors
//      25900 -- 26099  :   Expr errors
//      26100 -- 26299  :   Storage QP errors
//      26300 -- 26499  :   Core QP errors
//      26500 -- 26999  :   Reserved
//
//  OLEDB Minor Range:          27000 -- 27499
//
//  OLEDB HRESULT Range:        3584  -- 3805
//
//  Common Minor Range:         27500 -- 27749
//
//  Managed Code Minor Range:   27750 -- 27999
//
//  Connectivity Minor Range    28000 -- 30499
//
//      28000 -- 28499  :	Transport           
//      28500 -- 28999  :	Client Agent        
//      29000 -- 29499  :	Server Agent        
//      29500 -- 29999  :	Message Protocol
//      30000 -- 30499  :   SQLCE Relay (obsolete component as of v3.0)
//      30500 -- 39499  :   Unused
//      39500 -- 39999  :   Miscellaneous (setup, etc.) 
//
//
// ----------------------------------------------------------------------------
//
// Storage Engine   25000 - 25499
//
#define SSCE_M_NOCURRENTRECORD                  25001           // Either the cursor is not on a row or there are no rows left. [,,,,,]
#define SSCE_M_INVALIDBUFFERSIZE                25002           // The specified buffer size is not valid. [Buffer size specified,,,,,]
#define SSCE_M_COLUMNLENGTHTOOBIG               25003           // The specified length is too long for the column type. [Specified length,Column data type,,,,]
#define SSCE_M_COLUMNNOTUPDATEABLE              25004           // The column cannot be modified. [,,,Column name,,]

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -