|
1 | 1 | /* |
2 | 2 | * D3D10GrabberDefs.hpp |
3 | 3 | * |
4 | | - * Created on: 01.06.2012 |
5 | | - * Author: Timur Sattarov |
6 | | - * Project: Lightpack |
| 4 | + * Created on: 01.06.2012 |
| 5 | + * Author: Timur Sattarov |
| 6 | + * Project: Lightpack |
7 | 7 | * |
8 | | - * Copyright (c) 2012 Timur Sattarov |
| 8 | + * Copyright (c) 2012 Timur Sattarov |
9 | 9 | * |
10 | | - * Lightpack is very simple implementation of the backlight for a laptop |
| 10 | + * Lightpack is very simple implementation of the backlight for a laptop |
11 | 11 | * |
12 | | - * Lightpack is free software: you can redistribute it and/or modify |
13 | | - * it under the terms of the GNU General Public License as published by |
14 | | - * the Free Software Foundation, either version 2 of the License, or |
15 | | - * (at your option) any later version. |
| 12 | + * Lightpack is free software: you can redistribute it and/or modify |
| 13 | + * it under the terms of the GNU General Public License as published by |
| 14 | + * the Free Software Foundation, either version 2 of the License, or |
| 15 | + * (at your option) any later version. |
16 | 16 | * |
17 | | - * Lightpack is distributed in the hope that it will be useful, |
18 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
19 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
20 | | - * GNU General Public License for more details. |
| 17 | + * Lightpack is distributed in the hope that it will be useful, |
| 18 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | + * GNU General Public License for more details. |
21 | 21 | * |
22 | | - * You should have received a copy of the GNU General Public License |
23 | | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 22 | + * You should have received a copy of the GNU General Public License |
| 23 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
24 | 24 | * |
25 | 25 | */ |
26 | 26 |
|
|
42 | 42 | #endif |
43 | 43 |
|
44 | 44 | struct HOOKSGRABBER_SHARED_MEM_DESC { |
45 | | - UINT d3d9PresentFuncOffset; |
46 | | - UINT d3d9SCPresentFuncOffset; |
47 | | - UINT d3d9ResetFuncOffset; |
48 | | - UINT dxgiPresentFuncOffset; |
| 45 | + UINT d3d9PresentFuncOffset; |
| 46 | + UINT d3d9SCPresentFuncOffset; |
| 47 | + UINT d3d9ResetFuncOffset; |
| 48 | + UINT dxgiPresentFuncOffset; |
49 | 49 | #if defined(_WIN64) || defined(HOOKSGRABBER_SYSWOW64_DESC) |
50 | | - UINT d3d9PresentFuncOffset32; |
51 | | - UINT d3d9SCPresentFuncOffset32; |
52 | | - UINT d3d9ResetFuncOffset32; |
53 | | - UINT dxgiPresentFuncOffset32; |
54 | | - UINT loadLibraryWAddress32; |
| 50 | + UINT d3d9PresentFuncOffset32; |
| 51 | + UINT d3d9SCPresentFuncOffset32; |
| 52 | + UINT d3d9ResetFuncOffset32; |
| 53 | + UINT dxgiPresentFuncOffset32; |
| 54 | + UINT loadLibraryWAddress32; |
55 | 55 | #endif |
56 | | - UINT logLevel; |
57 | | - UINT grabDelay; |
58 | | - UINT grabbingStarted; |
| 56 | + UINT logLevel; |
| 57 | + UINT grabDelay; |
| 58 | + UINT grabbingStarted; |
59 | 59 |
|
60 | | - // Variables below are written by the hook when frames are captured |
61 | | - UINT frameId; |
62 | | - UINT width; |
63 | | - UINT height; |
64 | | - UINT rowPitch; |
| 60 | + // Variables below are written by the hook when frames are captured |
| 61 | + UINT frameId; |
| 62 | + UINT width; |
| 63 | + UINT height; |
| 64 | + UINT rowPitch; |
65 | 65 | #ifdef __cplusplus |
66 | | - BufferFormat format; |
| 66 | + BufferFormat format; |
67 | 67 | #else |
68 | | - UINT format; |
| 68 | + UINT format; |
69 | 69 | #endif |
70 | 70 | }; |
71 | 71 |
|
|
0 commit comments