<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mupen64plus.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Mupen64Plus_v2.0_Core_Basic</id>
	<title>Mupen64Plus v2.0 Core Basic - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mupen64plus.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Mupen64Plus_v2.0_Core_Basic"/>
	<link rel="alternate" type="text/html" href="https://mupen64plus.org/wiki/index.php?title=Mupen64Plus_v2.0_Core_Basic&amp;action=history"/>
	<updated>2026-10-18T14:38:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://mupen64plus.org/wiki/index.php?title=Mupen64Plus_v2.0_Core_Basic&amp;diff=7&amp;oldid=prev</id>
		<title>Richard42: Created page with &quot;Mupen64Plus v2.0 API  = Mupen64Plus v2.0 Basic Core API =  Most libmupen64plus functions return an &lt;tt&gt;m64p_error&lt;/tt&gt; return code, which is...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mupen64plus.org/wiki/index.php?title=Mupen64Plus_v2.0_Core_Basic&amp;diff=7&amp;oldid=prev"/>
		<updated>2015-07-22T03:46:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/wiki/index.php/Mupen64Plus_v2.0_Core_API_v1.0&quot; title=&quot;Mupen64Plus v2.0 Core API v1.0&quot;&gt;Mupen64Plus v2.0 API&lt;/a&gt;  = Mupen64Plus v2.0 Basic Core API =  Most libmupen64plus functions return an &amp;lt;tt&amp;gt;m64p_error&amp;lt;/tt&amp;gt; return code, which is...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Mupen64Plus v2.0 Core API v1.0|Mupen64Plus v2.0 API]]&lt;br /&gt;
&lt;br /&gt;
= Mupen64Plus v2.0 Basic Core API =&lt;br /&gt;
&lt;br /&gt;
Most libmupen64plus functions return an &amp;lt;tt&amp;gt;m64p_error&amp;lt;/tt&amp;gt; return code, which is an enumerated type defined in [[Mupen64Plus v2.0 headers#m64p_types.h|m64p_types.h]].  Front-end code should check the return value of each call to a libmupen64plus function.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|Prototype&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;m64p_error PluginGetVersion(m64p_plugin_type *PluginType, int *PluginVersion, int *APIVersion, const char **PluginNamePtr, int *Capabilities)&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|Input Parameters&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;PluginType&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; Pointer to an enumerated type to store the plugin type.  The value &amp;lt;tt&amp;gt;M64PLUGIN_CORE&amp;lt;/tt&amp;gt; will always be stored.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;PluginVersion&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; Pointer to an integer to store the version number of the Mupen64Plus core.  Version number 2.1.3 would be stored as 0x00020103.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;APIVersion&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; Pointer to an integer to store the version number of the Core--Front-end API used by the Mupen64plus core library.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;PluginNamePtr&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; Pointer to a const character pointer to receive the name of the core library.  The const char * which is returned must point to a persistent string (ie, not stored on the stack).&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;Capabilities&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; Pointer to an integer to store a logically-or&amp;#039;d set of flags which specify the capabilities of the core which were built into the library during compilation.  These are defined in the &amp;lt;tt&amp;gt;m64p_core_caps&amp;lt;/tt&amp;gt; enumerated type, defined in [[Mupen64Plus v2.0 headers#m64p_types.h|m64p_types.h]].&lt;br /&gt;
|-&lt;br /&gt;
|Usage&lt;br /&gt;
|This function retrieves version information from the core library.  This function is the same for the core library and the plugins, so that a front-end may examine all shared libraries in a directory and determine their types.  Any of the input parameters may be set to NULL and this function will succeed but won&amp;#039;t return the corresponding information.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|Prototype&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;m64p_error CoreGetAPIVersions(int *ConfigVersion, int *DebugVersion, int *VidextVersion, int *ExtraVersion)&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|Input Parameters&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;ConfigVersion&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; Pointer to an integer to store the version number of the Config API exported by the Mupen64plus core library.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;DebugVersion&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; Pointer to an integer to store the version number of the Debug API exported by the Mupen64plus core library.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VidextVersion&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; Pointer to an integer to store the version number of the Video Extension API exported by the Mupen64plus core library.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;ExtraVersion&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; Pointer to an integer to store an API version number for future use.  Currently set to 0.&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Usage&lt;br /&gt;
|This function retrieves API version information from the core library.  This function may be used by either the front-end application or any plugin modules.  Any of the input parameters may be set to NULL and this function will succeed but won&amp;#039;t return the corresponding information.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|Prototype&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;const char * CoreErrorMessage(m64p_error ReturnCode)&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|Input Parameters&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;ReturnCode&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; Enumerated type containing an error code.&lt;br /&gt;
|-&lt;br /&gt;
|Usage&lt;br /&gt;
|This function returns a pointer to a NULL-terminated string giving a human-readable description of the error.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard42</name></author>
	</entry>
</feed>