// ALC_API void ALC_APIENTRY alcSuspendContext( ALCcontext *context ); /// <summary>This function destroys a context.</summary> /// <param name="context">A pointer to the new context.</param> [DllImport(Lib, EntryPoint = "alcDestroyContext", ExactSpelling = true, CallingConvention = AlcCallingConv)] public static extern void DestroyContext(ALContext context);
// ALC_API ALCcontext * ALC_APIENTRY alcGetCurrentContext( void ); /// <summary>This function retrieves a context's device pointer.</summary> /// <param name="context">A pointer to a context.</param> /// <returns>Returns a pointer to the specified context's device.</returns> [DllImport(Lib, EntryPoint = "alcGetContextsDevice", ExactSpelling = true, CallingConvention = AlcCallingConv)] public static extern ALDevice GetContextsDevice(ALContext context);
/// <summary>This function makes a specified context the current context.</summary> /// <param name="context">A pointer to the new context.</param> /// <returns>Returns True on success, or False on failure.</returns> [DllImport(Lib, EntryPoint = "alcMakeContextCurrent", ExactSpelling = true, CallingConvention = AlcCallingConv)] public static extern bool MakeContextCurrent(ALContext context);