Changeset 63024 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/vboxsharedrc.h
- Timestamp:
- Aug 5, 2016 12:47:28 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/vboxsharedrc.h
r62522 r63024 1 1 /* $Id$ */ 2 2 /** @file 3 *4 3 * VBox extension to Wine D3D - shared resource 5 * 4 */ 5 6 /* 6 7 * Copyright (C) 2010-2016 Oracle Corporation 7 8 * … … 14 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 15 16 */ 17 16 18 #ifndef ___vboxsharedrc_h___ 17 19 #define ___vboxsharedrc_h___ … … 21 23 22 24 #define VBOXSHRC_GET_SHAREFLAFS(_o) ((_o)->resource.sharerc_flags) 23 #define VBOXSHRC_GET_SHAREHANDLE(_o) ((HANDLE)( _o)->resource.sharerc_handle)24 #define VBOXSHRC_SET_SHAREHANDLE(_o, _h) ((_o)->resource.sharerc_handle = (DWORD)( _h))25 #define VBOXSHRC_GET_SHAREHANDLE(_o) ((HANDLE)(uintptr_t)(_o)->resource.sharerc_handle) 26 #define VBOXSHRC_SET_SHAREHANDLE(_o, _h) ((_o)->resource.sharerc_handle = (DWORD)(uintptr_t)(_h)) 25 27 #define VBOXSHRC_COPY_SHAREDATA(_oDst, _oSrc) do { \ 26 28 VBOXSHRC_GET_SHAREFLAFS(_oDst) = VBOXSHRC_GET_SHAREFLAFS(_oSrc); \
Note:
See TracChangeset
for help on using the changeset viewer.