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.

PTR_TO_VAR built-in<br />

Description<br />

First, creates an OLE variant of type VT_PTR that contains the supplied address. Then, passes that<br />

variant and type through the function VARPTR_TO_VAR.<br />

Syntax<br />

FUNCTION PTR_TO_VAR<br />

(address PLS_INTEGER, vtype VT_TYPE)<br />

RETURN newvar OLEVAR;<br />

Built-in Type unrestricted function<br />

Returns the created and transformed OLE variant.<br />

Parameters<br />

address A variable whose value is an address.<br />

vtype The type to be given to the final version of the OLE<br />

variant (after its processing by VARPTR_TO_VAR).<br />

Usage Notes<br />

In most applications, there is no need to use this function. If the function is used, care must be taken to<br />

ensure that the correct address value is placed in the new variant.<br />

328

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

Saved successfully!

Ooh no, something went wrong!