The code presented simply parses the two arguments it is called with and instantiates an object of it's SUPER class with these arguments modified for the SUPER.
In essence it changes the device name so that com2 becomes \\\\.\\com2 and accepts any second argument as the quiet flag.
EDIT: The second argument must be true (ie. non-zero )