Table of Contents

var_GetDataPtr

Description

Retrieve the raw memory handle to the data contained within a ZVAR.

Function prototype

void* CExtAPI::var_GetDataPtr(ZVAR hVar);

Arguments

Name Type Comment
hVar ZVAR The handle to variable for which the data pointer is to be retrieved.

Return value

A null pointer if:

Otherwise, a valid handle is returned.

Comments

This function should not be used. If you need to set/get variable values, use var_SetValue/var_GetValue. If you need to manipulate data in class variables, use the relevant API functions (e.g. format_GetExt).