// -----------------------------------------
// SoundScribe (TM) and related software.
//
// Copyright (C) 2007-2011 Vannatech
// http://www.vannatech.com
// All rights reserved.
//
// This source code is subject to the MIT License.
// http://www.opensource.org/licenses/mit-license.php
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
// -----------------------------------------
using System;
namespace Vannatech.CoreAudio.Externals
{
///
/// Values that are used in activation calls to indicate the execution contexts in which an object is to be run.
///
///
/// MSDN Reference: http://msdn.microsoft.com/en-us/library/ms693716.aspx
/// Note: This item is external to CoreAudio API, and is defined in the Windows COM API.
///
public enum CLSCTX : uint
{
///
/// The code that creates and manages objects of this class is a DLL that runs in the same process as the caller of the function specifying the class context.
///
CLSCTX_INPROC_SERVER = 0x1,
///
/// The code that manages objects of this class is an in-process handler.
///
CLSCTX_INPROC_HANDLER = 0x2,
///
/// The EXE code that creates and manages objects of this class runs on same machine but is loaded in a separate process space.
///
CLSCTX_LOCAL_SERVER = 0x4,
///
/// Obsolete.
///
CLSCTX_INPROC_SERVER16 = 0x8,
///
/// A remote context.
///
CLSCTX_REMOTE_SERVER = 0x10,
///
/// Obsolete.
///
CLSCTX_INPROC_HANDLER16 = 0x20,
///
/// Reserved.
///
CLSCTX_RESERVED1 = 0x40,
///
/// Reserved.
///
CLSCTX_RESERVED2 = 0x80,
///
/// Reserved.
///
CLSCTX_RESERVED3 = 0x100,
///
/// Reserved.
///
CLSCTX_RESERVED4 = 0x200,
///
/// Disaables the downloading of code from the directory service or the Internet.
///
CLSCTX_NO_CODE_DOWNLOAD = 0x400,
///
/// Reserved.
///
CLSCTX_RESERVED5 = 0x800,
///
/// Specify if you want the activation to fail if it uses custom marshalling.
///
CLSCTX_NO_CUSTOM_MARSHAL = 0x1000,
///
/// Enables the downloading of code from the directory service or the Internet.
///
CLSCTX_ENABLE_CODE_DOWNLOAD = 0x2000,
///
/// Can be used to override the logging of failures
///
CLSCTX_NO_FAILURE_LOG = 0x4000,
///
/// Disables activate-as-activator (AAA) activations for this activation only.
///
CLSCTX_DISABLE_AAA = 0x8000,
///
/// Enables activate-as-activator (AAA) activations for this activation only.
///
CLSCTX_ENABLE_AAA = 0x10000,
///
/// Begin this activation from the default context of the current apartment.
///
CLSCTX_FROM_DEFAULT_CONTEXT = 0x20000,
///
/// Activate or connect to a 32-bit version of the server; fail if one is not registered.
///
CLSCTX_ACTIVATE_32_BIT_SERVER = 0x40000,
///
/// Activate or connect to a 64 bit version of the server; fail if one is not registered.
///
CLSCTX_ACTIVATE_64_BIT_SERVER = 0x80000,
///
/// Obsolete.
///
CLSCTX_ENABLE_CLOAKING = 0x100000,
///
/// Reserved.
///
CLSCTX_PS_DLL = 0x80000000
}
}