OSDN Git Service

#36897 [DTXC] MIDIインポート機能の呼び出し口を、ファイルメニュー内にも配置。
[dtxmania/dtxmania.git] / SlimDXc_Jun2010(VC++2008) / source / dxgi / ResultCodeDxgi.h
1 /*\r
2 * Copyright (c) 2007-2010 SlimDX Group\r
3\r
4 * Permission is hereby granted, free of charge, to any person obtaining a copy\r
5 * of this software and associated documentation files (the "Software"), to deal\r
6 * in the Software without restriction, including without limitation the rights\r
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r
8 * copies of the Software, and to permit persons to whom the Software is\r
9 * furnished to do so, subject to the following conditions:\r
10\r
11 * The above copyright notice and this permission notice shall be included in\r
12 * all copies or substantial portions of the Software.\r
13\r
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r
17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r
19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r
20 * THE SOFTWARE.\r
21 */\r
22 #pragma once\r
23 \r
24 #include "../Result.h"\r
25 \r
26 namespace SlimDX\r
27 {\r
28         namespace DXGI\r
29         {\r
30                 /// <summary>Defines result codes that are returned by DXGI functions.</summary>\r
31                 /// <unmanaged href="ms679692">HRESULT</unmanaged>\r
32                 public ref class ResultCode sealed\r
33                 {\r
34                 private:\r
35                         ResultCode();\r
36                         \r
37                 public:\r
38                         /// <summary>\r
39                         /// Returned when the window content is not visible.\r
40                         /// </summary>\r
41                         /// <remarks>This is a successful result.</remarks>\r
42                         /// <unmanaged href="cc308061">DXGI_STATUS_OCCLUDED</unmanaged>\r
43                         property static Result Occluded\r
44                         {\r
45                                 Result get();\r
46                         }\r
47                         \r
48                         /// <summary>\r
49                         /// \r
50                         /// </summary>\r
51                         /// <remarks>This is a successful result.</remarks>\r
52                         /// <unmanaged>DXGI_STATUS_CLIPPED</unmanaged>\r
53                         property static Result Clipped\r
54                         {\r
55                                 Result get();\r
56                         }\r
57                         \r
58                         /// <summary>\r
59                         /// \r
60                         /// </summary>\r
61                         /// <remarks>This is a successful result.</remarks>\r
62                         /// <unmanaged>DXGI_STATUS_NO_REDIRECTION</unmanaged>\r
63                         property static Result NoRedirection\r
64                         {\r
65                                 Result get();\r
66                         }\r
67                         \r
68                         /// <summary>\r
69                         /// \r
70                         /// </summary>\r
71                         /// <remarks>This is a successful result.</remarks>\r
72                         /// <unmanaged>DXGI_STATUS_NO_DESKTOP_ACCESS</unmanaged>\r
73                         property static Result NoDesktopAccess\r
74                         {\r
75                                 Result get();\r
76                         }\r
77                         \r
78                         /// <summary>\r
79                         /// \r
80                         /// </summary>\r
81                         /// <remarks>This is a successful result.</remarks>\r
82                         /// <unmanaged>DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE</unmanaged>\r
83                         property static Result VideoPresentNetworkSourceInUse\r
84                         {\r
85                                 Result get();\r
86                         }\r
87                         \r
88                         /// <summary>\r
89                         /// \r
90                         /// </summary>\r
91                         /// <remarks>This is a successful result.</remarks>\r
92                         /// <unmanaged href="cc308061">DXGI_STATUS_MODE_CHANGED</unmanaged>\r
93                         property static Result ModeChanged\r
94                         {\r
95                                 Result get();\r
96                         }\r
97                         \r
98                         /// <summary>\r
99                         /// \r
100                         /// </summary>\r
101                         /// <remarks>This is a successful result.</remarks>\r
102                         /// <unmanaged href="cc308061">DXGI_STATUS_MODE_CHANGE_IN_PROGRESS</unmanaged>\r
103                         property static Result ModeChangeInProgress\r
104                         {\r
105                                 Result get();\r
106                         }\r
107                         \r
108                         /// <summary>\r
109                         /// \r
110                         /// </summary>\r
111                         /// <remarks>This is a failed result.</remarks>\r
112                         /// <unmanaged href="bb509553">DXGI_ERROR_INVALID_CALL</unmanaged>\r
113                         property static Result InvalidCall\r
114                         {\r
115                                 Result get();\r
116                         }\r
117                         \r
118                         /// <summary>\r
119                         /// \r
120                         /// </summary>\r
121                         /// <remarks>This is a failed result.</remarks>\r
122                         /// <unmanaged href="bb509553">DXGI_ERROR_NOT_FOUND</unmanaged>\r
123                         property static Result NotFound\r
124                         {\r
125                                 Result get();\r
126                         }\r
127                         \r
128                         /// <summary>\r
129                         /// \r
130                         /// </summary>\r
131                         /// <remarks>This is a failed result.</remarks>\r
132                         /// <unmanaged href="bb509553">DXGI_ERROR_MORE_DATA</unmanaged>\r
133                         property static Result MoreData\r
134                         {\r
135                                 Result get();\r
136                         }\r
137                         \r
138                         /// <summary>\r
139                         /// \r
140                         /// </summary>\r
141                         /// <remarks>This is a failed result.</remarks>\r
142                         /// <unmanaged href="bb509553">DXGI_ERROR_UNSUPPORTED</unmanaged>\r
143                         property static Result Unsupported\r
144                         {\r
145                                 Result get();\r
146                         }\r
147                         \r
148                         /// <summary>\r
149                         /// \r
150                         /// </summary>\r
151                         /// <remarks>This is a failed result.</remarks>\r
152                         /// <unmanaged href="bb509553">DXGI_ERROR_DEVICE_REMOVED</unmanaged>\r
153                         property static Result DeviceRemoved\r
154                         {\r
155                                 Result get();\r
156                         }\r
157                         \r
158                         /// <summary>\r
159                         /// \r
160                         /// </summary>\r
161                         /// <remarks>This is a failed result.</remarks>\r
162                         /// <unmanaged href="bb509553">DXGI_ERROR_DEVICE_HUNG</unmanaged>\r
163                         property static Result DeviceHung\r
164                         {\r
165                                 Result get();\r
166                         }\r
167                         \r
168                         /// <summary>\r
169                         /// \r
170                         /// </summary>\r
171                         /// <remarks>This is a failed result.</remarks>\r
172                         /// <unmanaged href="bb509553">DXGI_ERROR_DEVICE_RESET</unmanaged>\r
173                         property static Result DeviceReset\r
174                         {\r
175                                 Result get();\r
176                         }\r
177                         \r
178                         /// <summary>\r
179                         /// \r
180                         /// </summary>\r
181                         /// <remarks>This is a failed result.</remarks>\r
182                         /// <unmanaged href="bb509553">DXGI_ERROR_WAS_STILL_DRAWING</unmanaged>\r
183                         property static Result WasStillDrawing\r
184                         {\r
185                                 Result get();\r
186                         }\r
187                         \r
188                         /// <summary>\r
189                         /// \r
190                         /// </summary>\r
191                         /// <remarks>This is a failed result.</remarks>\r
192                         /// <unmanaged href="bb509553">DXGI_ERROR_DRIVER_INTERNAL_ERROR</unmanaged>\r
193                         property static Result DriverInternalError\r
194                         {\r
195                                 Result get();\r
196                         }\r
197                         \r
198                         /// <summary>\r
199                         /// \r
200                         /// </summary>\r
201                         /// <remarks>This is a failed result.</remarks>\r
202                         /// <unmanaged href="bb509553">DXGI_ERROR_NONEXCLUSIVE</unmanaged>\r
203                         property static Result Nonexclusive\r
204                         {\r
205                                 Result get();\r
206                         }\r
207 \r
208                         /// <summary>\r
209                         /// Represents the result of a successful operation.\r
210                         /// </summary>\r
211                         /// <remarks>This is a successful result.</remarks>\r
212                         /// <unmanaged href="bb509553">S_OK</unmanaged>\r
213                         property static Result Success\r
214                         {\r
215                                 Result get();\r
216                         }\r
217 \r
218                         /// <summary>\r
219                         /// Represents a generic failure result.\r
220                         /// </summary>\r
221                         /// <remarks>This is a failed result.</remarks>\r
222                         /// <unmanaged href="aa378137">E_FAIL</unmanaged>\r
223                         property static Result Failure\r
224                         {\r
225                                 Result get();\r
226                         }\r
227                 };\r
228         }\r
229 }