The fifth argument in the the C declaration and the DLLImport statement
is typed as a pointer-to-short / short array, but the fifth argument you
pass in the call to the function is named
implies a single integer value. Ensure that you pass an array-of-short as
the fifth argument.