When I try to unload my minifilter I am not getting a call to NvInstanceContextCleanup() nor am I getting a call to NvCtxInstanceQueryTeardown (). Any ideas as to why this might be?
testing on XP home with sp2
Larry
CONST FLT_REGISTRATION FilterRegistration = {
sizeof(FLT_REGISTRATION), // Size
FLT_REGISTRATION_VERSION, // Version
0, // Flags
NvContextRegistration, // Context
Callbacks, // Operation callbacks
NvFsFilterUnload, // FilterUnload
NvCtxInstanceSetup, // InstanceSetup
NvCtxInstanceQueryTeardown , // InstanceQueryTeardown
NvCtxInstanceTeardownStart, // InstanceTeardownStart
NvCtxInstanceTeardownComplete, // InstanceTeardownComplete
NULL, // GenerateFileName
NULL, // GenerateDestinationFileName
NULL // NormalizeNameComponent
#if NVFSMON_LONGHORN
,
SpyKtmNotificationCallback // KTM notification callback
#endif // NVFSMON_LONGHORN
};
FLT_CONTEXT_REGISTRATION NvContextRegistration =
{{FLT_INSTANCE_CONTEXT, 0, NvInstanceContextCleanup, sizeof(NvInstanceContext), NVCTX_TAG},
{FLT_CONTEXT_END}
}
;