|
|
|
IDataSourceLocator Object |
|
PROGID |
$PROGID_DataLinks = "DataLinks" |
|
CLSID_DataLinks |
{2206CDB2-19C1-11D1-89E0-00C04FD7A829} |
|
IID_IDataSourceLocator |
{2206CCB2-19C1-11D1-89E0-00C04FD7A829} |
|
Created for reference use in Visual Basic. Provides implementation for the promptNew and promptEdit methods.
Documentation: IDataSourceLocator
|
|
Methods in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
IDispatch Methods |
Description |
|
GetTypeInfoCount |
Retrieves the number of type information interfaces that an object provides (either 0 or 1). |
|
GetTypeInfo |
Gets the type information for an object. |
|
GetIDsOfNames |
Maps a single member and an optional set of argument names to a corresponding set of integer DISPIDs. |
|
Invoke |
Provides access to properties and methods exposed by an object. |
|
IDataSourceLocator Methods and Properties |
Description |
|
hWnd |
The parent window handle for the dialog box to be displayed in. |
|
PromptNew |
Displays the Data Link Properties window in its wizard mode. Returns a connection string. |
|
PromptEdit |
Returns a Boolean value: true if the OK button was pressed on the dialog box; false if Cancel was pressed. |
|
QueryInterface |
|
FUNCTION IDataSourceLocator_QueryInterface ( _ BYVAL pthis AS DWORD PTR _ , BYREF riid AS GUID _ , BYREF ppvObj AS DWORD _ ) AS LONG
END FUNCTION
|
|
AddRef |
|
FUNCTION IDataSourceLocator_AddRef ( _ BYVAL pthis AS DWORD PTR _
)
AS DWORD
LOCAL DWRESULT
AS LONG END FUNCTION
|
|
Release |
|
FUNCTION IDataSourceLocator_Release ( _ BYVAL pthis AS DWORD PTR _
)
AS DWORD
LOCAL DWRESULT
AS DWORD END FUNCTION
|
|
GetTypeInfoCount |
|
FUNCTION IDataSourceLocator_GetTypeInfoCount ( _ BYVAL pthis AS DWORD _ , BYREF pctinfo AS DWORD _
) AS LONG
LOCAL HRESULT AS
LONG
|
|
GetTypeInfo |
|
FUNCTION IDataSourceLocator_GetTypeInfo ( _ BYVAL pthis AS DWORD _ , BYVAL itinfo AS DWORD _ , BYVAL lcid AS DWORD _ , BYREF pptinfo AS DWORD _
) AS LONG
LOCAL HRESULT AS
LONG
|
|
GetIDsOfNames |
|
FUNCTION IDataSourceLocator_GetIDsOfNames ( _ BYVAL pthis AS DWORD PTR _ , BYREF riid AS GUID _ , BYVAL rgszNames AS DWORD _ , BYVAL cNames AS DWORD _ , BYVAL lcid AS DWORD _ , BYVAL rgdispid AS DWORD _
) AS
LONG
LOCAL HRESULT AS
LONG
|
|
Invoke |
|
FUNCTION IDataSourceLocator_Invoke ( _ BYVAL pthis AS DWORD PTR _ , BYVAL dispidMember AS LONG _ , BYREF riid AS GUID _ , BYVAL lcid AS DWORD _ , BYVAL wFlags AS WORD _ , BYREF pdispparams AS DISPPARAMS _ , BYREF pvarResult AS VARIANT _ , BYREF pexcepinfo AS EXCEPINFO _ , BYREF puArgErr AS DWORD _
) AS
LONG
LOCAL HRESULT AS
LONG
|
|
hWnd |
|
FUNCTION
IDataSourceLocator_get_hWnd ( _ , BYREF phwndParent AS LONG _ ) AS LONG
FUNCTION
IDataSourceLocator_put_hWnd ( _ , BYVAL phwndParent AS LONG _ ) AS LONG
|
|
PromptNew |
|
FUNCTION
IDataSourceLocator_PromptNew ( _ , BYREF ppADOConnection AS DWORD _ ) AS LONG
|
|
PromptEdit |
|
FUNCTION
IDataSourceLocator_PromptEdit ( _ , BYREF ppADOConnection AS DWORD _ , BYREF pbSuccess AS INTEGER _ ) AS LONG
|
Page last updated on Tuesday, 12 September 2006 15:43:41 +0200