CRI ADX  Last Updated: 2024-07-17 10:48 p
Platform SDK Relationships (Functions Used)
The CRI Atom library for the PC edition uses the following platform-dependent functions as well as ANSI C standard APIs.

Secure CRI functions
  • memcpy_s
  • strcpy_s
  • strncpy_s
  • strncat_s


[Note]
When the CRI File System is operated, the following API may be called in addition to the above APIs.

  • vsprintf_s (Used only for outputting a file access log)


Win32 API
  • CloseHandle
  • CoInitializeEx
  • CoUninitialize
  • CreateEvent
  • CreateThread
  • DeleteCriticalSection
  • EnterCriticalSection
  • GetCurrentProcess
  • GetProcessAffinityMask
  • InitializeCriticalSection
  • InterlockedExchange
  • LeaveCriticalSection
  • ReadFile
  • ResetEvent
  • ResumeThread
  • SetEvent
  • SetFilePointer
  • SetThreadAffinityMask
  • SetThreadPriority
  • Sleep
  • SuspendThread
  • WaitForSingleObject
  • ZeroMemory
[Note]
When the CRI File System is operated, the following APIs may be called in addition to the above APIs.

  • CreateDirectory
  • DeleteFile
  • FlushFileBuffers
  • GetFileAttributes
  • GetFileSize
  • GetTickCount (Used only for outputting a file access log)
  • MoveFile
  • OutputDebugString (Used only for outputting a file access log)
  • SetEndOfFile
  • WriteFile
Sound Output APIs
The following APIs are used to output sound with XAudio2.
  • CoCreateInstance
  • CoUninitialize
  • IXAudio2MasteringVoice::DestroyVoice
  • IXAudio2SourceVoice::DestroyVoice
  • IXAudio2SourceVoice::FlushSourceBuffers
  • IXAudio2SourceVoice::GetState
  • IXAudio2SourceVoice::SetFrequencyRatio
  • IXAudio2SourceVoice::SetOutputMatrix
  • IXAudio2SourceVoice::Start
  • IXAudio2SourceVoice::Stop
  • IXAudio2SourceVoice::SubmitSourceBuffer
  • IXAudio2Voice::GetVoiceDetails
  • IXAudio2::AddRef
  • IXAudio2::CommitChanges
  • IXAudio2::CreateMasteringVoice
  • IXAudio2::CreateSourceVoice
  • IXAudio2::RegisterForCallbacks
  • IXAudio2::Release
  • XAudio2Create


The following APIs are used to output sound with WASAPI.
  • CoCreateInstance
  • CoTaskMemFree
  • CoUninitialize
  • IAudioClient::GetBufferSize
  • IAudioClient::GetCurrentPadding
  • IAudioClient::GetMixFormat
  • IAudioClient::GetService
  • IAudioClient::Initialize
  • IAudioClient::IsFormatSupported
  • IAudioClient::Release
  • IAudioClient::Start
  • IAudioClient::Stop
  • IAudioRenderClient::GetBuffer
  • IAudioRenderClient::Release
  • IAudioRenderClient::ReleaseBuffer
  • IMMDevice::Activate
  • IMMDevice::Release
  • IMMDeviceEnumerator::GetDefaultAudioEndpoint
  • IMMDeviceEnumerator::Release