Vp create: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
(Extended documentation)
(Fixed return values.)
Line 17: Line 17:


== Return values ==
== Return values ==
;[[SDK_Reason_Codes#VP_RC_SUCCESS|VP_RC_SUCCESS]]
;[[VPInstance]]:The newly created instance.
;[[SDK_Reason_Codes#VP_RC_NOT_INITIALIZED|VP_RC_NOT_INITIALIZED]]:The SDK hasn't been initialized. Try calling [[vp_init]] first.
;NULL:There was an error creating the instance.


== Returned attributes ==
== Returned attributes ==

Revision as of 14:38, 17 June 2012

<C>VPInstance vp_create(void)</C>

Description

Creates a new VP SDK instance.

Callback

None

Notes

None

Arguments

None

Argument attributes

None

Return values

VPInstance
The newly created instance.
NULL
There was an error creating the instance.

Returned attributes

None

Example

<C>VPInstance instance; instance = vp_create();</C>

See also