|
|
|
ICommand Interface |
|
IID_ICommand |
{0C733A63-2A1C-11CE-ADE5-00AA0044773D} |
|
ICommand contains methods to execute commands. A command can be executed many times, and the parameter values can vary. This interface is mandatory on commands.
Documentation: ICommand
|
|
Methods in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
ICommand Methods |
Description |
|
Cancel |
Cancels the current command execution. |
|
Execute |
Executes the command. |
|
GetDBSession |
Returns an interface pointer to the session that created the command. |
|
Cancel |
|
FUNCTION ICommand_Cancel
( _ ) AS LONG
|
|
Execute |
|
FUNCTION ICommand_Execute
( _ , BYVAL pUnkOuter AS DWORD _ , BYREF riid AS GUID _ , BYREF pParams AS DBPARAMS _ , BYREF pcRowsAffected AS LONG _ , BYREF ppRowset AS DWORD _ ) AS LONG
|
|
GetDBSession |
|
FUNCTION
ICommand_GetDBSession ( _ , BYREF riid AS GUID _ , BYREF ppSession AS DWORD _ ) AS LONG
|
Page last updated on Saturday, 11 November 2006 01:54:03 +0100