11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VARPTR_TO_VAR built-in<br />

Description<br />

Changes a variant pointer into a simple variant.<br />

Syntax<br />

FUNCTION VARPTR_TO_VAR<br />

(variant OLEVAR, vtype VT_TYPE)<br />

RETURN changed OLEVAR;<br />

Built-in Type unrestricted function<br />

Returns the transformed variant.<br />

Parameters<br />

variant The OLE variant pointer to be changed into a variant.<br />

vtype The OLE VT_TYPE to be given to the transformed<br />

variant.<br />

Usage Notes<br />

This is an optional parameter. If not specified, the default<br />

value is VT_VARIANT.<br />

• This function removes VT_BYREF typing from the variant.<br />

• If the variant’s type was not VT_BYREF, the variant is assumed to hold an address to the type<br />

specified in the vtype, and is de-referenced accordingly.<br />

• If the pointer was NULL or the variant was of type VT_NULL, then VT_EMPTY is returned.<br />

453

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!