<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://ubersoft.org/Sputnik/wiki/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_PTRToString</id>
		<title>Core Function PTRToString - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_PTRToString"/>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_PTRToString&amp;action=history"/>
		<updated>2026-05-16T11:59:20Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_PTRToString&amp;diff=4310&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_PTRToString&amp;diff=4310&amp;oldid=prev"/>
				<updated>2015-06-14T12:37:02Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:37, 14 June 2015&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_PTRToString&amp;diff=4309&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_PTRToString&amp;diff=4309&amp;oldid=prev"/>
				<updated>2014-08-11T21:40:49Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:40, 11 August 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_PTRToString&amp;diff=1394&amp;oldid=prev</id>
		<title>UberFoX: Created page with &quot;&lt;pre&gt; StringToPTR( &lt;type&gt;, &lt;string&gt; ) &lt;/pre&gt;  === Description ===  Allocates memory for the string and writes the string to that memory and returns the pointer for that memory.  ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_PTRToString&amp;diff=1394&amp;oldid=prev"/>
				<updated>2011-12-09T01:23:58Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; StringToPTR( &amp;lt;type&amp;gt;, &amp;lt;string&amp;gt; ) &amp;lt;/pre&amp;gt;  === Description ===  Allocates memory for the string and writes the string to that memory and returns the pointer for that memory.  ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
StringToPTR( &amp;lt;type&amp;gt;, &amp;lt;string&amp;gt; )&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
Allocates memory for the string and writes the string to that memory and returns the pointer for that memory.&lt;br /&gt;
&lt;br /&gt;
=== Parameters===&lt;br /&gt;
&lt;br /&gt;
==== type ====&lt;br /&gt;
What type of string to read from the pointer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[TYPE]		[WHAT IT IS]&lt;br /&gt;
0		ASCII&lt;br /&gt;
1		UNICODE&lt;br /&gt;
2		BSTR&lt;br /&gt;
3		AUTO&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
&lt;br /&gt;
Success: Returns the string.&lt;br /&gt;
&lt;br /&gt;
Failure: Returns an empty string. &lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
$PTR_ASCII = StringToPTR(0, &amp;quot;Hello World&amp;quot;);&lt;br /&gt;
$PTR_UNICODE = StringToPTR(1, &amp;quot;Hello World 2&amp;quot;);&lt;br /&gt;
$PTR_AUTO = StringToPTR(2, &amp;quot;Hello World 3&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
Println(   PTRToString(0, $PTR_ASCII)   ); // ASCII&lt;br /&gt;
Println(   PTRToString(1, $PTR_UNICODE)   ); // UNICODE&lt;br /&gt;
//Println(   PTRToString(2, $PTR_BSTR)   ); // BSTR&lt;br /&gt;
Println(   PTRToString(3, $PTR_AUTO)   ); // AUTO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Core Function]]&lt;/div&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	</feed>