Ejemplo n.º 1
0
            public static IntPtr CreateFiber(int dwStackSize, FiberProc lpStartAddress, IntPtr lpParameter)
            {
                IntPtr fiber = CreateFiberEx(dwStackSize, dwStackSize, 1, lpStartAddress, lpParameter);

                if (fiber == IntPtr.Zero)
                {
                    throw new Win32Exception();
                }
                return(fiber);
            }
Ejemplo n.º 2
0
 public static extern IntPtr CreateFiberEx(SizeT dwStackCommitSize, SizeT dwStackReserveSize, FIBER_FLAG dwFlags, FiberProc lpStartAddress, [In] IntPtr lpParameter);
Ejemplo n.º 3
0
 public static extern IntPtr CreateFiber(SizeT dwStackSize, FiberProc lpStartAddress, [In] IntPtr lpParameter);
Ejemplo n.º 4
0
 public static extern uint CreateFiber(uint dwStackSize, FiberProc lpStartAddress, uint lpParameter);
Ejemplo n.º 5
0
 private static extern IntPtr CreateFiberEx(int dwStackCommitSize, int dwStackReserveSize, int dwFlags, FiberProc lpStartAddress, IntPtr lpParameter);
Ejemplo n.º 6
0
 public static extern uint CreateFiber(uint dwStackSize, FiberProc lpStartAddress, uint lpParameter);