mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-11-03 20:48:08 -06:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			pvt-dirfix
			...
			pvt-loggin
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					f7b40a7f32 | 
@@ -3,10 +3,10 @@
 | 
			
		||||
    <Import Project="$(MsbuildThisFileDirectory)\build.version.props" />
 | 
			
		||||
    <ItemDefinitionGroup>
 | 
			
		||||
        <ClCompile>
 | 
			
		||||
            <PreprocessorDefinitions>NTDDI_VERSION=0x06010000;_WIN32_WINNT=0x0601;MyProductName=$(MyProductName);MyProductFileName=$(MyProductFileName);MyDescription=$(MyDescription);MyCompanyName=$(MyCompanyName);MyCopyright=$(MyCopyright);MyProductVersion=$(MyProductVersion);MyProductStage=$(MyProductStage);MyVersion=$(MyVersion);MyVersionWithCommas=$(MyVersionWithCommas);MyFullVersion=$(MyFullVersion);MyFspFsctlDeviceClassGuid=$(MyFspFsctlDeviceClassGuid);MyFspFsvrtDeviceClassGuid=$(MyFspFsvrtDeviceClassGuid);MyFsctlRegisterPath=$(MyFsctlRegisterPath);MyNpRegisterPath=$(MyNpRegisterPath);MyEventLogRegisterPath=$(MyEventLogRegisterPath)</PreprocessorDefinitions>
 | 
			
		||||
            <PreprocessorDefinitions>NTDDI_VERSION=0x06010000;_WIN32_WINNT=0x0601;MyProductName=$(MyProductName);MyProductFileName=$(MyProductFileName);MyDescription=$(MyDescription);MyCompanyName=$(MyCompanyName);MyCopyright=$(MyCopyright);MyProductVersion=$(MyProductVersion);MyProductStage=$(MyProductStage);MyVersion=$(MyVersion);MyVersionWithCommas=$(MyVersionWithCommas);MyFullVersion=$(MyFullVersion);MyFspFsctlDeviceClassGuid=$(MyFspFsctlDeviceClassGuid);MyFspFsvrtDeviceClassGuid=$(MyFspFsvrtDeviceClassGuid);MyFsdLoadLogging=$(MyFsdLoadLogging);MyFsctlRegisterPath=$(MyFsctlRegisterPath);MyNpRegisterPath=$(MyNpRegisterPath);MyEventLogRegisterPath=$(MyEventLogRegisterPath)</PreprocessorDefinitions>
 | 
			
		||||
        </ClCompile>
 | 
			
		||||
        <ResourceCompile>
 | 
			
		||||
            <PreprocessorDefinitions>MyProductName=$(MyProductName);MyProductFileName=$(MyProductFileName);MyDescription=$(MyDescription);MyCompanyName=$(MyCompanyName);MyCopyright=$(MyCopyright);MyProductVersion=$(MyProductVersion);MyProductStage=$(MyProductStage);MyVersion=$(MyVersion);MyVersionWithCommas=$(MyVersionWithCommas);MyFullVersion=$(MyFullVersion);MyFspFsctlDeviceClassGuid=$(MyFspFsctlDeviceClassGuid);MyFspFsvrtDeviceClassGuid=$(MyFspFsvrtDeviceClassGuid);MyFsctlRegisterPath=$(MyFsctlRegisterPath);MyNpRegisterPath=$(MyNpRegisterPath);MyEventLogRegisterPath=$(MyEventLogRegisterPath)</PreprocessorDefinitions>
 | 
			
		||||
            <PreprocessorDefinitions>MyProductName=$(MyProductName);MyProductFileName=$(MyProductFileName);MyDescription=$(MyDescription);MyCompanyName=$(MyCompanyName);MyCopyright=$(MyCopyright);MyProductVersion=$(MyProductVersion);MyProductStage=$(MyProductStage);MyVersion=$(MyVersion);MyVersionWithCommas=$(MyVersionWithCommas);MyFullVersion=$(MyFullVersion);MyFspFsctlDeviceClassGuid=$(MyFspFsctlDeviceClassGuid);MyFspFsvrtDeviceClassGuid=$(MyFspFsvrtDeviceClassGuid);MyFsdLoadLogging=$(MyFsdLoadLogging);MyFsctlRegisterPath=$(MyFsctlRegisterPath);MyNpRegisterPath=$(MyNpRegisterPath);MyEventLogRegisterPath=$(MyEventLogRegisterPath)</PreprocessorDefinitions>
 | 
			
		||||
        </ResourceCompile>
 | 
			
		||||
    </ItemDefinitionGroup>
 | 
			
		||||
    <ItemDefinitionGroup Condition="'$(IsKernelModeToolset)'=='true'">
 | 
			
		||||
 
 | 
			
		||||
@@ -41,6 +41,9 @@
 | 
			
		||||
        <MyFspFsctlDeviceClassGuid>{ 0x6f9d25fa, 0x6dee, 0x4a9d, { 0x80, 0xf5, 0xe9, 0x8e, 0x14, 0xf3, 0x5e, 0x54 } }</MyFspFsctlDeviceClassGuid>
 | 
			
		||||
        <MyFspFsvrtDeviceClassGuid>{ 0xb48171c3, 0xdd50, 0x4852, { 0x83, 0xa3, 0x34, 0x4c, 0x50, 0xd9, 0x3b, 0x17 } }</MyFspFsvrtDeviceClassGuid>
 | 
			
		||||
 | 
			
		||||
        <!-- FSD load/unload logging; set to 1 to enable -->
 | 
			
		||||
        <MyFsdLoadLogging>0</MyFsdLoadLogging>
 | 
			
		||||
 | 
			
		||||
        <!--
 | 
			
		||||
            Configure paths used for registration via DllRegisterServer:
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -47,6 +47,11 @@ NTSTATUS DriverEntry(
 | 
			
		||||
{
 | 
			
		||||
    FSP_ENTER_DRV();
 | 
			
		||||
 | 
			
		||||
#if MyFsdLoadLogging
 | 
			
		||||
    DbgPrintEx(DPFLTR_DEFAULT_ID, DPFLTR_TRACE_LEVEL,
 | 
			
		||||
        DRIVER_NAME ": %s: %wZ\n", __func__, DriverObject->DriverName);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
    FSP_TRACE_INIT();
 | 
			
		||||
 | 
			
		||||
    FspSxsIdentInitialize(&DriverObject->DriverName);
 | 
			
		||||
@@ -204,6 +209,11 @@ VOID DriverUnload(
 | 
			
		||||
 | 
			
		||||
    FSP_TRACE_FINI();
 | 
			
		||||
 | 
			
		||||
#if MyFsdLoadLogging
 | 
			
		||||
    DbgPrintEx(DPFLTR_DEFAULT_ID, DPFLTR_TRACE_LEVEL,
 | 
			
		||||
        DRIVER_NAME ": %s: %wZ\n", __func__, DriverObject->DriverName);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#pragma prefast(suppress:28175, "We are in DriverUnload: ok to access DriverName")
 | 
			
		||||
    FSP_LEAVE_VOID("DriverName=\"%wZ\"",
 | 
			
		||||
        &DriverObject->DriverName);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user