MDAC 2.5 SDK - OLE DB Providers
OSP Toolkit
The Microsoft® OLE DB Simple Provider (OSP) Toolkit is a set of Microsoft Internet Explorer APIs that includes a limited number of COM interfaces and associated methods. It is designed to let you easily expose simple data (such as in-memory arrays of string and Variant data types) to data-binding controls in HTML pages, Internet Explorer HTML forms, and consumer applications.
The OSP API interfaces and methods documented here are also described in the Internet Explorer SDK. However, this version of the OSP Toolkit documentation includes additional information specific to the usage of OSP.
The OSP Toolkit uses the OSP API as an integral part of its OLE DB provider architecture. Think of it as using OSP as a building block by which OLE DB functionality is exposed over your simple data. As a provider writer using this toolkit, you use OSP methods to accomplish the following:
OSP defines two interfaces:
The OSP methods you can implement with the OSP Toolkit can be categorized as described in the following table.
Category | Description |
Schema | Obtain basic metadata information about the underlying rows and columns. |
Data access via Variants | Retrieve and set Variant values in the data set. |
Insert/delete | Insert/delete rows and columns into the data set. |
Find | Implement basic search functionality across the data. |
Localization | Implement functionality for data conversions based on country. |
Event handler | Register (and unregister) an event handler, which can be notified of changes to cells, rows, and columns. |
Asynchronous data population | Allow data to populate a target application or control asynchronously. |
Notifications | Notify, through an event handler, changes to cells, rows, and columns. |