MarshalToPtr() 공개 정적인 메소드

Helper function to marshal WaveFormat to an IntPtr
public static MarshalToPtr ( WaveFormat format ) : IntPtr
format WaveFormat WaveFormat
리턴 System.IntPtr
예제 #1
0
 /// <summary>
 /// Marshal managed to native
 /// </summary>
 public IntPtr MarshalManagedToNative(object ManagedObj)
 {
     return(WaveFormat.MarshalToPtr((WaveFormat)ManagedObj));
 }