I don't think you can use the handle function to do this. It looks like this was a way around the problem of handles in c script.
The code below shows storing the handle of tdata in the var v. Then passing that information into the pointer odata.
Hope it helps.
Code:
typedef struct MYDATA
{
int a;
int b;
int c;
} MYDATA;
var v;
MYDATA tdata;
MYDATA* odata;
function main()
{
tdata.a = 1;
tdata.b = 2;
tdata.c = 3;
v = &tdata;
odata = v;
if (odata.a == 1)
{
video_window(NULL, NULL, 112, "hello");
}
}