SV * OpenDevice() { HANDLE handle; /* Do stuff that creates the handle */ return newSVuv(handle);