Source code of Windows XP (NT5)
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.
|
|
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2000, Microsoft Corp. All rights reserved.
//
// FILE
//
// iasdb.h
//
// SYNOPSIS
//
// Declares functions for accessing OLE-DB databases.
//
// MODIFICATION HISTORY
//
// 04/13/2000 Original version.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef IASDB_H
#define IASDB_H
#if _MSC_VER >= 1000
#pragma once
#endif
#include <unknwn.h>
typedef struct IRowset IRowset;
#ifdef __cplusplus
extern "C" { #endif
// Const values used in different places
const LONG IAS_WIN2K_VERSION = 0; const LONG IAS_WHISTLER1_VERSION = 1; const LONG IAS_WHISTLER_BETA1_VERSION = 2; const LONG IAS_WHISTLER_BETA2_VERSION = 3;
VOID WINAPI IASCreateTmpDirectory();
HRESULT WINAPI IASOpenJetDatabase( IN PCWSTR path, IN BOOL readOnly, OUT LPUNKNOWN* session );
HRESULT WINAPI IASExecuteSQLCommand( IN LPUNKNOWN session, IN PCWSTR commandText, OUT IRowset** result );
HRESULT WINAPI IASExecuteSQLFunction( IN LPUNKNOWN session, IN PCWSTR functionText, OUT LONG* result );
HRESULT WINAPI IASCreateJetDatabase( IN PCWSTR dataSource );
HRESULT WINAPI IASTraceJetError( PCSTR functionName, HRESULT errorCode );
BOOL WINAPI IASIsInprocServer();
#ifdef __cplusplus
} #endif
#endif // IASDB_H
|