msado15.tlh中重要的枚举(精简)

1.  msado15.tlh

enum ConnectPromptEnum

{

    adPromptAlways = 1,

    adPromptComplete = 2,

    adPromptCompleteRequired = 3,

    adPromptNever = 4

};

enum ParameterAttributesEnum

{

    adParamSigned = 16,

    adParamNullable = 64,

    adParamLong = 128

};

 

enum ParameterDirectionEnum

{

    adParamUnknown = 0,

    adParamInput = 1,

    adParamOutput = 2,

    adParamInputOutput = 3,

    adParamReturnValue = 4

};

 

enum CommandTypeEnum

{

    adCmdUnspecified = -1,

    adCmdUnknown = 8,

    adCmdText = 1,

    adCmdTable = 2,

    adCmdStoredProc = 4,

    adCmdFile = 256,

    adCmdTableDirect = 512

};

 

enum EventStatusEnum

{

    adStatusOK = 1,

    adStatusErrorsOccurred = 2,

    adStatusCantDeny = 3,

    adStatusCancel = 4,

    adStatusUnwantedEvent = 5

};

 

enum EventReasonEnum

{

    adRsnAddNew = 1,

    adRsnDelete = 2,

    adRsnUpdate = 3,

    adRsnUndoUpdate = 4,

    adRsnUndoAddNew = 5,

    adRsnUndoDelete = 6,

    adRsnRequery = 7,

    adRsnResynch = 8,

    adRsnClose = 9,

    adRsnMove = 10,

    adRsnFirstChange = 11,

    adRsnMoveFirst = 12,

    adRsnMoveNext = 13,

    adRsnMovePrevious = 14,

    adRsnMoveLast = 15

};

enum SeekEnum

{

    adSeekFirstEQ = 1,

    adSeekLastEQ = 2,

    adSeekAfterEQ = 4,

    adSeekAfter = 8,

    adSeekBeforeEQ = 16,

    adSeekBefore = 32

};

enum StreamTypeEnum

{

    adTypeBinary = 1,

    adTypeText = 2

};

posted on 2010-09-01 21:13  清清飞扬  阅读(487)  评论(0编辑  收藏  举报