Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

58 lines
2.0 KiB

// ReportGetHelpInfo.h : Declaration of the CReportGetHelpInfo
/*************************************************************************************
* module: ReportGetHelpInfo.h - OLEDB Template
*
* author: Tim Ragain
* date: Jan 2, 2002
*
* Purpose: To return StopCodes for a specific date using stored procedure ReportGetHelpInfo.
*
*
*************************************************************************************/
#pragma once
// code generated on Monday, January 07, 2002, 2:49 PM
#include "Settings.h"
[
#if(lDatabase == 0)
db_source(L"Provider=SQLOLEDB.1;Persist Security Info=False;Pwd=ocarp;User ID=ocarp;Initial Catalog=KaCustomer2;Data Source=OCATOOLSDB"),
#elif(lDatabase == 1)
db_source(L"Provider=SQLOLEDB.1;Persist Security Info=False;Pwd=Tim5;User ID=Tim5;Initial Catalog=KaCustomer;Data Source=TIMRAGAIN04\\TIMRAGAIN04"),
#elif(lDatabase == 2)
db_source(L"Provider=SQLOLEDB.1;Persist Security Info=False;Pwd=Tim5;User ID=Tim5;Initial Catalog=KaCustomer;Data Source=TIMRAGAIN05"),
#elif(lDatabase == 3)
db_source(L"Provider=SQLOLEDB.1;Persist Security Info=False;Pwd=Tim5;User ID=Tim5;Initial Catalog=KaCustomer;Data Source=Homebase"),
#elif(lDatabase == 4)
db_source(L"Provider=SQLOLEDB.1;Persist Security Info=False;Pwd=ocarpts@2;User ID=ocarpts;Initial Catalog=KaCustomer2;Data Source=tkwucdsqla02"),
#endif
db_command(L"{ ? = CALL dbo.ReportGetHelpInfo(?) }")
]
class CReportGetHelpInfo
{
public:
[ db_column(1, status=m_dwiCountStatus, length=m_dwiCountLength) ] LONG m_iCount;
DBSTATUS m_dwiCountStatus;
DBLENGTH m_dwiCountLength;
[ db_param(1, DBPARAMIO_OUTPUT) ] LONG m_RETURN_VALUE;
[ db_param(2, DBPARAMIO_INPUT) ] DBTIMESTAMP m_dDate;
void GetRowsetProperties(CDBPropSet* pPropSet)
{
VARIANT vCT;
vCT.lVal = 600;
pPropSet->AddProperty(DBPROP_CANFETCHBACKWARDS, true, DBPROPOPTIONS_OPTIONAL);
pPropSet->AddProperty(DBPROP_CANSCROLLBACKWARDS, true, DBPROPOPTIONS_OPTIONAL);
pPropSet->AddProperty(DBPROP_COMMANDTIMEOUT, vCT);
}
};