Changeset 81269 in vbox for trunk/include/VBox/GuestHost
- Timestamp:
- Oct 14, 2019 6:28:34 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 133964
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/SharedClipboard-win.h
r81259 r81269 170 170 enum Status 171 171 { 172 /** The object is uninitialized (not ready). */ 172 173 Uninitialized = 0, 173 Initialized 174 /** The object is initialized and ready to use. */ 175 Initialized, 176 /** The operation has been successfully completed. */ 177 Completed, 178 /** The operation has been canceled. */ 179 Canceled, 180 /** An (unrecoverable) error occurred. */ 181 Error 174 182 }; 175 183 … … 218 226 static DECLCALLBACK(int) readThread(RTTHREAD ThreadSelf, void *pvUser); 219 227 220 static const char* ClipboardFormatToString(CLIPFORMAT fmt);228 static void logFormat(CLIPFORMAT fmt); 221 229 222 230 protected: … … 249 257 typedef std::vector<FSOBJENTRY> FsObjEntryList; 250 258 259 /** The object's current status. */ 251 260 Status m_enmStatus; 261 /** The object's current reference count. */ 252 262 LONG m_lRefCount; 263 /** How many formats have been registered. */ 253 264 ULONG m_cFormats; 254 265 LPFORMATETC m_pFormatEtc; 255 266 LPSTGMEDIUM m_pStgMedium; 267 /** Pointer to the associated transfer object being handled. */ 256 268 PSHCLTRANSFER m_pTransfer; 269 /** Current stream object being used. */ 257 270 IStream *m_pStream; 271 /** Current object index being handled by the data object. 272 * This is needed to create the next IStream object for e.g. the next upcoming file/dir/++ in the transfer. */ 258 273 ULONG m_uObjIdx; 259 274 /** List of (cached) file system objects. */ … … 265 280 /** Event being triggered when the transfer has been completed. */ 266 281 RTSEMEVENT m_EventTransferComplete; 282 /** Registered format for CFSTR_FILEDESCRIPTORA. */ 267 283 UINT m_cfFileDescriptorA; 284 /** Registered format for CFSTR_FILEDESCRIPTORW. */ 268 285 UINT m_cfFileDescriptorW; 286 /** Registered format for CFSTR_FILECONTENTS. */ 269 287 UINT m_cfFileContents; 288 /** Registered format for CFSTR_PERFORMEDDROPEFFECT. */ 289 UINT m_cfPerformedDropEffect; 270 290 }; 271 291
Note:
See TracChangeset
for help on using the changeset viewer.