OSDN Git Service

Merge branch 'feature/#36529_SlimDXからSharpDXへの移行' into develop
[dtxmania/dtxmania.git] / SlimDXc_Jun2010(VC++2008) / source / directsound / ResultCodeDS.h
diff --git a/SlimDXc_Jun2010(VC++2008)/source/directsound/ResultCodeDS.h b/SlimDXc_Jun2010(VC++2008)/source/directsound/ResultCodeDS.h
deleted file mode 100644 (file)
index 108583f..0000000
+++ /dev/null
@@ -1,292 +0,0 @@
-/*\r
-* Copyright (c) 2007-2010 SlimDX Group\r
-* \r
-* Permission is hereby granted, free of charge, to any person obtaining a copy\r
-* of this software and associated documentation files (the "Software"), to deal\r
-* in the Software without restriction, including without limitation the rights\r
-* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r
-* copies of the Software, and to permit persons to whom the Software is\r
-* furnished to do so, subject to the following conditions:\r
-* \r
-* The above copyright notice and this permission notice shall be included in\r
-* all copies or substantial portions of the Software.\r
-* \r
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
-* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
-* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r
-* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r
-* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r
-* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r
-* THE SOFTWARE.\r
-*/\r
-#pragma once\r
-\r
-#ifdef XMLDOCS\r
-#include "Enums.h"\r
-#endif\r
-\r
-namespace SlimDX\r
-{\r
-       namespace DirectSound\r
-       {\r
-               /// <summary>Defines result codes that are returned by DirectSound 8 functions.</summary>\r
-               /// <unmanaged href="bb219706">HRESULT</unmanaged>\r
-               public ref class ResultCode sealed\r
-               {\r
-               private:\r
-                       ResultCode();\r
-\r
-               public:\r
-                       /// <summary>\r
-                       /// The function completed successfully.\r
-                       /// </summary>\r
-                       /// <remarks>This is a successful result.</remarks>\r
-                       /// <unmanaged href="bb219706">DS_OK</unmanaged>\r
-                       property static Result Success\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Represents a generic failure result.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">E_FAIL</unmanaged>\r
-                       property static Result Failure\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// The 3D algorithm was substituted.\r
-                       /// </summary>\r
-                       /// <remarks>This is a successful result.</remarks>\r
-                       /// <unmanaged href="bb219706">DS_NO_VIRTUALIZATION</unmanaged>\r
-                       property static Result NoVirtualization\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Access is denied.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_ACCESSDENIED</unmanaged>\r
-                       property static Result AccessDenied\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// The call failed because resources (such as a priority level) were already being used by another caller.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_ALLOCATED</unmanaged>\r
-                       property static Result Allocated\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// This object is already initialized.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_ALREADYINITIALIZED</unmanaged>\r
-                       property static Result AlreadyInitialized\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// The specified WAVE format is not supported.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_BADFORMAT</unmanaged>\r
-                       property static Result BadFormat\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// The GUID specified in an audiopath file does not match a valid MIXIN buffer.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_BADSENDBUFFERGUID</unmanaged>\r
-                       property static Result BadSendBufferGuid\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// The buffer memory has been lost, and must be restored.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_BUFFERLOST</unmanaged>\r
-                       property static Result BufferLost\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Tried to create a <see cref="BufferFlags">ControlEffects</see> buffer shorter than DSBSIZE_FX_MIN milliseconds.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_BUFFERTOOSMALL</unmanaged>\r
-                       property static Result BufferTooSmall\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// The control (vol, pan, etc.) requested by the caller is not available.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_CONTROLUNAVAIL</unmanaged>\r
-                       property static Result ControlUnavailable\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Attempt to use DirectSound 8 functionality on an older DirectSound object.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_DS8_REQUIRED</unmanaged>\r
-                       property static Result DirectSound8Required\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// The effects requested could not be found on the system, or they were found\r
-                       /// but in the wrong order, or in the wrong hardware/software locations.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706"></unmanaged>\r
-                       property static Result EffectsUnavailable\r
-                       {\r
-                               Result get();\r
-                       };\r
-\r
-                       /// <summary>\r
-                       /// An undetermined error occurred inside the DirectSound subsystem.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_GENERIC</unmanaged>\r
-                       property static Result Generic\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// This call is not valid for the current state of this object.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_INVALIDCALL</unmanaged>\r
-                       property static Result InvalidCall\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       ///An invalid parameter was passed to the returning function.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_INVALIDPARAM</unmanaged>\r
-                       property static Result InvalidParameter\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// This object does not support aggregation.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_NOAGGREGATION</unmanaged>\r
-                       property static Result NoAggregation\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// No sound driver is available for use.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_NODRIVER</unmanaged>\r
-                       property static Result NoDriver\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// The requested COM interface is not available.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_NOINTERFACE</unmanaged>\r
-                       property static Result NoInterface\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// The object requested was not found.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_OBJECTNOTFOUND</unmanaged>\r
-                       property static Result ObjectNotFound\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Another app has a higher priority level, preventing this call from succeeding.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_OTHERAPPHASPRIO</unmanaged>\r
-                       property static Result OtherApplicationHasPriority\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// The caller does not have the priority level required for the function to succeed\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_PRIOLEVELNEEDED</unmanaged>\r
-                       property static Result PriorityLevelNeeded\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// A circular loop of send effects was detected.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_SENDLOOP</unmanaged>\r
-                       property static Result SendLoop\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// This object has not been initialized.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_UNINITIALIZED</unmanaged>\r
-                       property static Result Uninitialized\r
-                       {\r
-                               Result get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// The function called is not supported at this time.\r
-                       /// </summary>\r
-                       /// <remarks>This is a failed result.</remarks>\r
-                       /// <unmanaged href="bb219706">DSERR_UNSUPPORTED</unmanaged>\r
-                       property static Result Unsupported\r
-                       {\r
-                               Result get();\r
-                       }\r
-               };\r
-       }\r
-}
\ No newline at end of file