private extern static void zplay_GetStreamInfoW(uint objptr, ref TStreamInfo_Internal pInfo);
public void GetStreamInfo(ref TStreamInfo info) { TStreamInfo_Internal tmp = new TStreamInfo_Internal(); zplay_GetStreamInfoW(objptr, ref tmp); info.Bitrate = tmp.Bitrate; info.ChannelNumber = tmp.ChannelNumber; info.SamplingRate = tmp.SamplingRate; info.VBR = tmp.VBR; info.Length = tmp.Length; info.Description = Marshal.PtrToStringUni(tmp.Description); }