Init comit
This commit is contained in:
@@ -0,0 +1,406 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="load_data"
|
||||
ProjectGUID="{8E339346-E65D-475C-9ACE-2760D22D8415}"
|
||||
RootNamespace="load_data"
|
||||
Keyword="Win32Proj"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="$(ProjectDir)"
|
||||
IntermediateDirectory="$(ProjectDir)$(ConfigurationName)"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="..\..\..\api\inc;..\..\api\inc"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="..\..\..\api\lib\fmodex_vc.lib ..\..\api\lib\fmod_event.lib"
|
||||
LinkIncremental="1"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="copy ..\..\..\api\fmodex.dll .
copy ..\..\api\fmod_event.dll .
"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="$(ProjectDir)"
|
||||
IntermediateDirectory="$(ProjectDir)$(ConfigurationName)"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="1"
|
||||
WholeProgramOptimization="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories="..\..\..\api\inc;..\..\api\inc"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="..\..\..\api\lib\fmodex_vc.lib ..\..\api\lib\fmod_event.lib"
|
||||
LinkIncremental="1"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="copy ..\..\..\api\fmodex.dll .
copy ..\..\api\fmod_event.dll .
"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug C|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="..\..\..\api\inc;..\..\api\inc"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="..\..\..\api\lib\fmodex_vc.lib ..\..\api\lib\fmod_event.lib"
|
||||
LinkIncremental="1"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="copy ..\..\..\api\fmodex.dll .
copy ..\..\api\fmod_event.dll .
"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release C|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="1"
|
||||
WholeProgramOptimization="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories="..\..\..\api\inc;..\..\api\inc"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="..\..\..\api\lib\fmodex_vc.lib ..\..\api\lib\fmod_event.lib"
|
||||
LinkIncremental="1"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="copy ..\..\..\api\fmodex.dll .
copy ..\..\api\fmod_event.dll .
"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<File
|
||||
RelativePath=".\main.c"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
ExcludedFromBuild="true"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
ObjectFile="$(IntDir)\$(InputName)1.obj"
|
||||
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
ExcludedFromBuild="true"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
ObjectFile="$(IntDir)\$(InputName)1.obj"
|
||||
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug C|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
ObjectFile="$(IntDir)\$(InputName)1.obj"
|
||||
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release C|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
ObjectFile="$(IntDir)\$(InputName)1.obj"
|
||||
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\main.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug C|Win32"
|
||||
ExcludedFromBuild="true"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release C|Win32"
|
||||
ExcludedFromBuild="true"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
@@ -0,0 +1,115 @@
|
||||
/*===============================================================================================
|
||||
Load Event Data Example
|
||||
Copyright (c), Firelight Technologies Pty, Ltd 2004-2016.
|
||||
|
||||
Demonstrates basic loading and unloading of event data per event
|
||||
===============================================================================================*/
|
||||
#include "../../api/inc/fmod_event.h"
|
||||
#include "../../api/inc/fmod_errors.h"
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <conio.h>
|
||||
|
||||
|
||||
void ERRCHECK(FMOD_RESULT result)
|
||||
{
|
||||
if (result != FMOD_OK)
|
||||
{
|
||||
printf("FMOD error! (%d) %s\n", result, FMOD_ErrorString(result));
|
||||
exit(-1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
FMOD_EVENTSYSTEM *eventsystem;
|
||||
FMOD_EVENTGROUP *eventgroup;
|
||||
FMOD_EVENT *event = 0;
|
||||
FMOD_RESULT result;
|
||||
int key;
|
||||
int memory_changed = 1;
|
||||
|
||||
printf("======================================================================\n");
|
||||
printf("Load Event Data Example. Copyright (c) Firelight Technologies 2004-2016.\n");
|
||||
printf("==============================-------=================================\n");
|
||||
printf("This demonstrates loading and unloading of event data per event and\n");
|
||||
printf("per group.\n");
|
||||
printf("======================================================================\n\n");
|
||||
|
||||
ERRCHECK(result = FMOD_EventSystem_Create(&eventsystem));
|
||||
ERRCHECK(result = FMOD_EventSystem_Init(eventsystem, 64, FMOD_INIT_NORMAL, 0, FMOD_EVENT_INIT_NORMAL));
|
||||
ERRCHECK(result = FMOD_EventSystem_SetMediaPath(eventsystem, "..\\media\\"));
|
||||
ERRCHECK(result = FMOD_EventSystem_Load(eventsystem, "examples.fev", 0, 0));
|
||||
ERRCHECK(result = FMOD_EventSystem_GetGroup(eventsystem, "examples/FeatureDemonstration/Basics", 1, &eventgroup));
|
||||
|
||||
printf("======================================================================\n");
|
||||
printf("Press 'e' to load event data\n");
|
||||
printf("Press 'E' to unload event data\n");
|
||||
printf("Press 'g' to load group data\n");
|
||||
printf("Press 'G' to unload group data\n");
|
||||
printf("Press ESC to quit\n");
|
||||
printf("======================================================================\n");
|
||||
|
||||
key = 0;
|
||||
do
|
||||
{
|
||||
if (_kbhit())
|
||||
{
|
||||
|
||||
key = _getch();
|
||||
|
||||
if (key == 'e')
|
||||
{
|
||||
ERRCHECK(result = FMOD_EventGroup_GetEvent(eventgroup, "SimpleEvent", FMOD_EVENT_DEFAULT, &event));
|
||||
printf("Event data loaded\n");
|
||||
memory_changed = 1;
|
||||
}
|
||||
else if (key == 'E')
|
||||
{
|
||||
if (event)
|
||||
{
|
||||
result = FMOD_EventGroup_FreeEventData(eventgroup, event, 1);
|
||||
if (result != FMOD_ERR_INVALID_HANDLE)
|
||||
{
|
||||
ERRCHECK(result);
|
||||
printf("Event data unloaded\n");
|
||||
memory_changed = 1;
|
||||
}
|
||||
event = 0;
|
||||
}
|
||||
}
|
||||
else if (key == 'g')
|
||||
{
|
||||
ERRCHECK(result = FMOD_EventGroup_LoadEventData(eventgroup, FMOD_EVENT_RESOURCE_STREAMS_AND_SAMPLES, 0));
|
||||
printf("Event group data loaded\n");
|
||||
memory_changed = 1;
|
||||
}
|
||||
else if (key == 'G')
|
||||
{
|
||||
ERRCHECK(result = FMOD_EventGroup_FreeEventData(eventgroup, 0, 1));
|
||||
printf("Event group data unloaded\n");
|
||||
memory_changed = 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (memory_changed)
|
||||
{
|
||||
int memory_current, memory_max;
|
||||
ERRCHECK(result = FMOD_Memory_GetStats(&memory_current, &memory_max, 0));
|
||||
|
||||
printf("Memory usage: current = %10d, max = %10d\n", memory_current, memory_max);
|
||||
memory_changed = 0;
|
||||
}
|
||||
|
||||
ERRCHECK(result = FMOD_EventSystem_Update(eventsystem));
|
||||
Sleep(15);
|
||||
|
||||
} while (key != 27);
|
||||
|
||||
ERRCHECK(result = FMOD_EventGroup_FreeEventData(eventgroup, 0, 1));
|
||||
ERRCHECK(result = FMOD_EventSystem_Release(eventsystem));
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
/*===============================================================================================
|
||||
Load Event Data Example
|
||||
Copyright (c), Firelight Technologies Pty, Ltd 2004-2016.
|
||||
|
||||
Demonstrates basic loading and unloading of event data per event
|
||||
===============================================================================================*/
|
||||
#include "../../api/inc/fmod_event.hpp"
|
||||
#include "../../api/inc/fmod_errors.h"
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <conio.h>
|
||||
|
||||
|
||||
void ERRCHECK(FMOD_RESULT result)
|
||||
{
|
||||
if (result != FMOD_OK)
|
||||
{
|
||||
printf("FMOD error! (%d) %s\n", result, FMOD_ErrorString(result));
|
||||
exit(-1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
FMOD::EventSystem *eventsystem;
|
||||
FMOD::EventGroup *eventgroup;
|
||||
FMOD::Event *event = 0;
|
||||
FMOD_RESULT result;
|
||||
int key;
|
||||
|
||||
printf("======================================================================\n");
|
||||
printf("Load Event Data Example. Copyright (c) Firelight Technologies 2004-2016.\n");
|
||||
printf("==============================-------=================================\n");
|
||||
printf("This demonstrates loading and unloading of event data per event and\n");
|
||||
printf("per group.\n");
|
||||
printf("======================================================================\n\n");
|
||||
|
||||
ERRCHECK(result = FMOD::EventSystem_Create(&eventsystem));
|
||||
ERRCHECK(result = eventsystem->init(64, FMOD_INIT_NORMAL, 0, FMOD_EVENT_INIT_NORMAL));
|
||||
ERRCHECK(result = eventsystem->setMediaPath("..\\media\\"));
|
||||
ERRCHECK(result = eventsystem->load("examples.fev", 0, 0));
|
||||
ERRCHECK(result = eventsystem->getGroup("examples/FeatureDemonstration/Basics", false, &eventgroup));
|
||||
|
||||
printf("======================================================================\n");
|
||||
printf("Press 'e' to load event data\n");
|
||||
printf("Press 'E' to unload event data\n");
|
||||
printf("Press 'g' to load group data\n");
|
||||
printf("Press 'G' to unload group data\n");
|
||||
printf("Press ESC to quit\n");
|
||||
printf("======================================================================\n");
|
||||
|
||||
bool memory_changed = true;
|
||||
|
||||
key = 0;
|
||||
do
|
||||
{
|
||||
if (_kbhit())
|
||||
{
|
||||
|
||||
key = _getch();
|
||||
|
||||
if (key == 'e')
|
||||
{
|
||||
ERRCHECK(result = eventgroup->getEvent("SimpleEvent", FMOD_EVENT_DEFAULT, &event));
|
||||
printf("Event data loaded\n");
|
||||
memory_changed = true;
|
||||
}
|
||||
else if (key == 'E')
|
||||
{
|
||||
if (event)
|
||||
{
|
||||
result = eventgroup->freeEventData(event);
|
||||
if (result != FMOD_ERR_INVALID_HANDLE)
|
||||
{
|
||||
ERRCHECK(result);
|
||||
printf("Event data unloaded\n");
|
||||
memory_changed = true;
|
||||
}
|
||||
event = 0;
|
||||
}
|
||||
}
|
||||
else if (key == 'g')
|
||||
{
|
||||
ERRCHECK(result = eventgroup->loadEventData());
|
||||
printf("Event group data loaded\n");
|
||||
memory_changed = true;
|
||||
}
|
||||
else if (key == 'G')
|
||||
{
|
||||
ERRCHECK(result = eventgroup->freeEventData());
|
||||
printf("Event group data unloaded\n");
|
||||
memory_changed = true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (memory_changed)
|
||||
{
|
||||
int memory_current, memory_max;
|
||||
ERRCHECK(result = FMOD::Memory_GetStats(&memory_current, &memory_max));
|
||||
|
||||
printf("Memory usage: current = %10d, max = %10d\n", memory_current, memory_max);
|
||||
memory_changed = false;
|
||||
}
|
||||
|
||||
ERRCHECK(result = eventsystem->update());
|
||||
Sleep(15);
|
||||
|
||||
} while (key != 27);
|
||||
|
||||
ERRCHECK(result = eventgroup->freeEventData());
|
||||
ERRCHECK(result = eventsystem->release());
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user