//-------------------------------------------------------------------- // Microsoft OLE DB Test // // Copyright 1995-2000 Microsoft Corporation. // // @doc // // @module IDBPRPTS.H | Header file for IDBProperties test module. // // @rev 01 | 02-04-96 | Microsoft | Created // @rev 02 | 04-25-98 | Microsoft | Updated // #ifndef _IDBPRPTS_H_ #define _IDBPRPTS_H_ #include "oledb.h" //OLE DB Header Files #include "oledberr.h" #include "msdasql.h" #include "privlib.h" //Include private library, which includes //the "transact.h" //----------------------------------------------------------------------------- // String constants //----------------------------------------------------------------------------- const WCHAR wszPropertyNotSupportedAt[] = L"Not supported property at index "; const WCHAR wszColumnsFlagNotSetAt[] = L"DBPROPFLAGS_COLUMN is not set at index "; const WCHAR wszDataSourceFlagNotSetAt[] = L"DBPROPFLAGS_DATASOURCE is not set at index "; const WCHAR wszDataSourceCreateFlagNotSetAt[]= L"DBPROPFLAGS_DATASOURCECREATE is not set at index "; const WCHAR wszDataSourceInfoFlagNotSetAt[] = L"DBPROPFLAGS_DATASOURCEINFO is not set at index "; const WCHAR wszInitializeFlagNotSetAt[] = L"DBPROPFLAGS_DBINIT is not set at index "; const WCHAR wszIndexFlagNotSetAt[] = L"DBPROPFLAGS_INDEX is not set at index "; const WCHAR wszRowsetFlagNotSetAt[] = L"DBPROPFLAGS_ROWSET is not set at index "; const WCHAR wszSessionFlagNotSetAt[] = L"DBPROPFLAGS_SESSION is not set at index "; const WCHAR wszTableFlagNotSetAt[] = L"DBPROPFLAGS_TABLE is not set at index "; const WCHAR wszTrusteeFlagNotSetAt[] = L"DBPROPFLAGS_TRUSTEE is not set at index "; const WCHAR wszViewFlagNotSetAt[] = L"DBPROPFLAGS_VIEW is not set at index "; const WCHAR wszReadFlagNotSetAt[] = L"DBPROPFLAGS_READ is not set at index "; const WCHAR wszInvalidFlagSetAt[] = L"Invalid flag is set at index "; const WCHAR wszWriteFlagNotSetAt[] = L"DBPROPFLAGS_WRITE is not set at index "; const WCHAR wszWriteFlagSetAt[] = L"DBPROPFLAGS_WRITE is set at index "; const WCHAR wszIncorrectVtType[] = L"Incorrect vtPropType returned from GetPropertyInfo at index "; const WCHAR wszDefaultValueFailed[] = L"The default value from GetPropertyInfo is invalid "; const WCHAR wszTotalGetPropertiesIs[] = L"The total number of properties supported from GetProperties is "; const WCHAR wszIndexNotValid[] = L"Test module error: The index for the global array not valid! \n"; //----------------------------------------------------------------------------- // Constant defines //----------------------------------------------------------------------------- #define DESCRIPTION_SIZE 256 //Same as Kagera has defined //----------------------------------------------------------------------------- // ENUM //----------------------------------------------------------------------------- enum EPROPERTYATTR {PROPERTY_NOT_SUPPORTED, PROPERTY_NOT_SETTABLE, PROPERTY_SETTABLE, PROPERTY_INVALID}; #endif //_IDBPRPTS_H_