public void ovrMessage_Init(MESSAGE id, ovrMQWait wait) { // this byref? this.Id = id; this.Wait = wait; //memset( message->Parms, 0, sizeof( message->Parms ) ); this.Parms = new ovrMessageParms[MAX_MESSAGES]; // calloc // http://stackoverflow.com/questions/1622196/malloc-zeroing-out-memory }