|
Sack Library Documentation
|
IMPORT_METHOD PTRSZVAL CPROC CreateRegisteredDataType(CTEXTSTR classname, CTEXTSTR name, CTEXTSTR instancename); IMPORT_METHOD PTRSZVAL CPROC CreateRegisteredDataTypeEx(PCLASSROOT root, CTEXTSTR classname, CTEXTSTR name, CTEXTSTR instancename);
|
Parameters |
Description |
|
CTEXTSTR classname |
path to the type |
|
CTEXTSTR name |
name of the type to create an instance of |
|
CTEXTSTR instancename |
a name for the instance created. |
|
PCLASSROOT root |
optional root name (ex version uses this) |
Registers a structure as creatable in shared memory by name. So a single name of the structure can be used to retrieve a pointer to one created.
POINTER p = CreateRegisteredDataType( "My types", "my_registered_type", "my instance" ); // p will result to a region of type 'my_registered_type' called 'my_instance' // if it did not exist, it will be created, otherwise the one existing is returned.
Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
support@toolsfactory.com.|
Copyright (c) 2000+. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|