It's an array of WCHAR as you said so the parameter of the function should be of type WCHAR like :
MyFunction (WCHAR param)
and when you pass the value inside the loop you wanna pass it like this :
MyFunction (g_String[i][j])
since it is a two dimension array, you gotta pass the index of the "column" and "raw".
(p.s: j is another int that refers to the column)