Skip to content

Latest commit

 

History

History
94 lines (48 loc) · 1.96 KB

PyITransferDestination.md

File metadata and controls

94 lines (48 loc) · 1.96 KB

PyITransferDestination

PyITransferDestination Object

Implemented by shell extensions that act as targets for item copy or move operations

Methods

  • Advise

    Connects an advise sink 

  • Unadvise

    Disconnects an advise sink 

  • CreateItem

    Requests that a new item be created 

int = Advise(Sink) Connects an advise sink

Parameters

Return Value

Returns an id for the connection, to be passed to PyITransferDestination::Unadvise

(int, interface, interface) = CreateItem(Name, Attributes

, Size

, Flags

, riidItem

, riidResources

) Requests that a new item be created

Parameters

  • Name : str

    Filename to be created

  • Attributes : int

    File attributes

  • Size : int

    Size of file

  • Flags : int

    Combination of shellcon.TSF_* flags

  • riidItem=IID_IShellItem : PyIID

    Item interface to return

  • riidResources=IID_IShellItemResources : PyIID

    Resource interface to return

Return Value

Returns the HRESULT and requested interfaces. Interfaces may be None if

function returns one of the informational codes (shellcon.COPYENGINE_S_*)

Unadvise(Cookie) Disconnects an advise sink

Parameters