Пример #1
0
        /// <summary>
        /// No documentation.
        /// </summary>
        /// <param name="countRef">No documentation.</param>
        /// <returns>No documentation.</returns>
        /// <!-- No matching elements were found for the following include tag --><include file="Documentation\CodeComments.xml" path="/comments/comment[@id='IXAudio2::GetDeviceCount']/*" />
        /// <unmanaged>HRESULT IXAudio2::GetDeviceCount([Out] unsigned int* pCount)</unmanaged>
        /// <unmanaged-short>IXAudio2::GetDeviceCount</unmanaged-short>
        private unsafe void GetDeviceCount(out int countRef)
        {
            Result result;

            fixed(void *ptr = &countRef)
            {
                result = LocalInterop.CalliGetDeviceCount(this._nativePointer, ptr, *(*(void ***)this._nativePointer + 3));
            }

            result.CheckError();
        }