Example #1
0
        public static IntPtr CreateFileHandlerStatic(string inFileName, uint inDesiredAccess, uint inShareMode,
                                                     IntPtr inSecurityAttributes, uint inCreationDisposition, uint inFlagsAndAttributes, IntPtr inTemplateFile)
        {
            var createFileHookerImplementation = new CreateFileHookerImplementation <T>(null);

            return(createFileHookerImplementation.CreateFileHandler(inFileName, inDesiredAccess, inShareMode,
                                                                    inSecurityAttributes, inCreationDisposition, inFlagsAndAttributes, inTemplateFile));
        }
        public static IntPtr CreateFileHandler(string inFileName, uint inDesiredAccess, uint inShareMode,
                                               IntPtr inSecurityAttributes, uint inCreationDisposition, uint inFlagsAndAttributes, IntPtr inTemplateFile)

        {
            return(CreateFileHookerImplementation <CreateFileRemoteHooker> .CreateFileHandlerStatic(inFileName,
                                                                                                    inDesiredAccess, inShareMode,
                                                                                                    inSecurityAttributes, inCreationDisposition, inFlagsAndAttributes, inTemplateFile));
        }
 public CreateFileRemoteHooker(
     RemoteHooking.IContext inContext,
     string inChannelName) : base(inContext, inChannelName)
 {
     _createFileHookerImplementation = new CreateFileHookerImplementation <CreateFileRemoteHooker>(this);
 }
Example #4
0
 public CreateFileHooker()
 {
     _createFileHookerImplementation = new CreateFileHookerImplementation <CreateFileHooker>(this);
 }