示例#1
0
 public static IntPtr NewNativeLocalFile(string path, bool followLinks)
 {
     IntPtr aResult;
     using (nsACString aPath = new nsACString(path))
     {               
         NS_NewNativeLocalFile(aPath, followLinks, out aResult);
     }
     return aResult; 
 }
示例#2
0
 internal static extern int NS_CStringGetData(nsACString aString, out IntPtr aData, IntPtr aTerminated);
示例#3
0
 internal static extern int NS_CStringSetData(nsACString aString, string aData, int aDataLength);
示例#4
0
 internal static extern int NS_CStringContainerFinish(nsACString aString);
示例#5
0
 internal static extern int NS_CStringContainerInit(nsACString aString);
示例#6
0
 internal static extern int NS_NewNativeLocalFile(nsACString aPath, bool aFollowLinks, out IntPtr aResult);