Home COM GDI+ WebBrowser Data Access

FolderItemVerb  Object

 

IID_FolderItemVerb

{08EC3E00-50B0-11CF-960C-0080C7F4EE85}

 

 

The FolderItemVerb object represents a single verb available to an item. The object contains properties and methods that allow you to retrieve information about the verb.

 

 

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.

FolderItemVerb Methods and Properties

Description

Application

Contains the FolderItemVerb object's Application object.

Parent

Not currently implemented.

Name

Contains the verb's name.

DoIt

Executes a verb on the FolderItem associated with the verb.

 

Application

 

FUNCTION ShellFolderItemVerb_get_Application ( _
  BYVAL pthis AS DWORD PTR _
, BYREF ppid AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[7] USING ShellFolderItemVerb_get_Application (pthis, ppid) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Parent

 

FUNCTION ShellFolderItemVerb_get_Parent ( _
  BYVAL pthis AS DWORD PTR _
, BYREF ppid AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[8] USING ShellFolderItemVerb_get_Parent (pthis, ppid) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Name

 

FUNCTION ShellFolderItemVerb_get_Name ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pbs AS STRING _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[9] USING ShellFolderItemVerb_get_Name (pthis, pbs) TO HRESULT
  FUNCTION = HRESULT
  pbs = ACODE$(pbs)

END FUNCTION

 

FUNCTION ShellFolderItemVerb_put_Name ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pbs AS STRING _
  ) AS LONG

  LOCAL HRESULT AS LONG
  pbs = UCODE$(pbs)
  CALL DWORD @@pthis[10] USING ShellFolderItemVerb_put_Name (pthis, pbs) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

DoIt

 

FUNCTION ShellFolderItemVerb_DoIt ( _
  BYVAL pthis AS DWORD PTR _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[10] USING ShellFolderItemVerb_DoIt (pthis) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Monday, 03 April 2006 20:37:48 +0200