VOID
SmbTraceCompleteSrv(
IN PMDL SmbMdl,
IN PVOID Smb,
IN CLONG SmbLength
);
Routine Description:
Server version.
Snapshot an SMB and export it to the SmbTrace application. How
this happens is determined by which mode (fast or slow) SmbTracing
was requested in. In the server, it is easy to guarantee that when
tracing, a thread is always executing in the Fsp.
Fast mode: the SMB is copied into shared memory and an entry for it
is queued to the server SmbTrace thread, which asynchronously
passes SMBs to the app. If there is insufficient memory
for anything (SMB, queue entry, etc.) the SMB is lost.
Slow mode: identical to Fast mode except that this thread waits
until the server SmbTrace thread signals that the app has finished
processing the SMB. Because each thread waits until its SMB has
been completely processed, there is much less chance of running
out of any resources.
The SMB is either contained in SmbMdl, or at address Smb with length
SmbLength.
Arguments:
SmbMdl - an Mdl containing the SMB.
Smb - a pointer to the SMB.
SmbLength - the length of the SMB.
Return Value:
None