[Bug 508] - Convert HANDLE to a void* (references: 1219)