VirtualBox

Changeset 95837 in vbox


Ignore:
Timestamp:
Jul 26, 2022 4:16:31 PM (2 years ago)
Author:
vboxsync
Message:

DnD/VBoxTray: Resolved some @todos (use dedicated init functions) + fixed a memory leak in VBoxDnDDataObject. Added missing documentation [build fix]. bugref:10267

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnD.h

    r93115 r95837  
    7373    static const char* ClipboardFormatToString(CLIPFORMAT fmt);
    7474
     75    int Init(LPFORMATETC pFormatEtc, LPSTGMEDIUM pStgMed, ULONG cFormats);
     76    int Destroy(void);
    7577    int Abort(void);
    7678    void SetStatus(Status status);
     
    210212public:
    211213
    212     VBoxDnDEnumFormatEtc(LPFORMATETC pFormatEtc, ULONG cFormats);
     214    VBoxDnDEnumFormatEtc(LPFORMATETC pFormatEtc, ULONG uIdx, ULONG cToCopy, ULONG cTotal);
    213215    virtual ~VBoxDnDEnumFormatEtc(void);
    214216
     
    226228public:
    227229
    228     static void CopyFormat(LPFORMATETC pFormatDest, LPFORMATETC pFormatSource);
     230    int Init(LPFORMATETC pFormatEtc, ULONG uIdx, ULONG cToCopy, ULONG cTotal);
     231
     232public:
     233
     234    static int     CopyFormat(LPFORMATETC pFormatDest, LPFORMATETC pFormatSource);
    229235    static HRESULT CreateEnumFormatEtc(UINT cFormats, LPFORMATETC pFormatEtc, IEnumFORMATETC **ppEnumFormatEtc);
    230236
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette