public SoundControlCardInfo(IntPtr ptr)
 {
     if (ptr == IntPtr.Zero)
     {
         SoundNativeMethods.SoundControlCardInfoMalloc(out handle);
         if (handle == IntPtr.Zero)
         {
             throw new OutOfMemoryException();
         }
     }
     else
     {
         handle = ptr;
     }
 }