Ejemplo n.º 1
0
        public static IntPtr CreateWindowExHandler(WindowStylesEx dwExStyle,
                                                   string lpClassName,
                                                   string lpWindowName,
                                                   WindowStyles dwStyle,
                                                   int x,
                                                   int y,
                                                   int nWidth,
                                                   int nHeight,
                                                   IntPtr hWndParent,
                                                   IntPtr hMenu,
                                                   IntPtr hInstance,
                                                   IntPtr lpParam)

        {
            return(CreateWindowWxHookerImplementation <CreateWindowExRemoteHooker> .CreateWindowExHandlerStatic(dwExStyle,
                                                                                                                lpClassName,
                                                                                                                lpWindowName,
                                                                                                                dwStyle,
                                                                                                                x,
                                                                                                                y,
                                                                                                                nWidth,
                                                                                                                nHeight,
                                                                                                                hWndParent,
                                                                                                                hMenu,
                                                                                                                hInstance,
                                                                                                                lpParam));
        }
        public static IntPtr CreateWindowExHandlerStatic(
            WindowStylesEx dwExStyle,
            string lpClassName,
            string lpWindowName,
            WindowStyles dwStyle,
            int x,
            int y,
            int nWidth,
            int nHeight,
            IntPtr hWndParent,
            IntPtr hMenu,
            IntPtr hInstance,
            IntPtr lpParam)
        {
            var createWindowExHookerImplementation = new CreateWindowWxHookerImplementation <T>(null);

            return(createWindowExHookerImplementation.CreateWindowExHandler(dwExStyle,
                                                                            lpClassName,
                                                                            lpWindowName,
                                                                            dwStyle,
                                                                            x,
                                                                            y,
                                                                            nWidth,
                                                                            nHeight,
                                                                            hWndParent,
                                                                            hMenu,
                                                                            hInstance,
                                                                            lpParam));
        }
Ejemplo n.º 3
0
 public CreateWindowExRemoteHooker(
     RemoteHooking.IContext inContext,
     string inChannelName) : base(inContext, inChannelName)
 {
     _createWindowExHookerImplementation =
         new CreateWindowWxHookerImplementation <CreateWindowExRemoteHooker>(this);
 }
Ejemplo n.º 4
0
 public CreateWindowExHooker()
 {
     _createWindowExHookerImplementation = new CreateWindowWxHookerImplementation <CreateWindowExHooker>(this);
 }