private static System.Windows.Forms.UnsafeNativeMethods.IMalloc GetSHMalloc()
 {
     System.Windows.Forms.UnsafeNativeMethods.IMalloc[] ppMalloc = new System.Windows.Forms.UnsafeNativeMethods.IMalloc[1];
     System.Windows.Forms.UnsafeNativeMethods.Shell32.SHGetMalloc(ppMalloc);
     return ppMalloc[0];
 }
示例#2
0
 private static System.Windows.Forms.UnsafeNativeMethods.IMalloc GetSHMalloc()
 {
     System.Windows.Forms.UnsafeNativeMethods.IMalloc[] ppMalloc = new System.Windows.Forms.UnsafeNativeMethods.IMalloc[1];
     System.Windows.Forms.UnsafeNativeMethods.Shell32.SHGetMalloc(ppMalloc);
     return(ppMalloc[0]);
 }