WDK Mini Filter Example
mspyLog.c File Reference
#include <DriverSpecs.h>
#include <stdio.h>
#include <windows.h>
#include <stdlib.h>
#include <winioctl.h>
#include "mspyLog.h"

Go to the source code of this file.


#define TIME_ERROR   "time error"
#define POLL_INTERVAL   200


 _Analysis_mode_ (_Analysis_code_type_user_code_)
DWORD WINAPI RetrieveLogRecords (_In_ LPVOID lpParameter)
VOID PrintIrpCode (_In_ UCHAR MajorCode, _In_ UCHAR MinorCode, _In_opt_ FILE *OutputFile, _In_ BOOLEAN PrintMajorCode)
ULONG FormatSystemTime (_In_ SYSTEMTIME *SystemTime, _Out_writes_bytes_(BufferLength) CHAR *Buffer, _In_ ULONG BufferLength)
VOID FileDump (_In_ ULONG SequenceNumber, _In_ WCHAR CONST *Name, _In_ PRECORD_DATA RecordData, _In_ FILE *File)
VOID ScreenDump (_In_ ULONG SequenceNumber, _In_ WCHAR CONST *Name, _In_ PRECORD_DATA RecordData)

Macro Definition Documentation


#define POLL_INTERVAL   200




#define TIME_ERROR   "time error"

Function Documentation

◆ _Analysis_mode_()

_Analysis_mode_ ( _Analysis_code_type_user_code_  )

Definition at line 21 of file mspyLog.c.

◆ FileDump()

VOID FileDump ( _In_ ULONG  SequenceNumber,
_In_ WCHAR CONST *  Name,
_In_ PRECORD_DATA  RecordData,
_In_ FILE *  File 

Definition at line 902 of file mspyLog.c.

◆ FormatSystemTime()

ULONG FormatSystemTime ( _In_ SYSTEMTIME *  SystemTime,
_Out_writes_bytes_(BufferLength) CHAR *  Buffer,
_In_ ULONG  BufferLength 

Definition at line 853 of file mspyLog.c.

◆ PrintIrpCode()

VOID PrintIrpCode ( _In_ UCHAR  MajorCode,
_In_ UCHAR  MinorCode,
_In_opt_ FILE *  OutputFile,
_In_ BOOLEAN  PrintMajorCode 

Definition at line 314 of file mspyLog.c.

◆ RetrieveLogRecords()

DWORD WINAPI RetrieveLogRecords ( _In_ LPVOID  lpParameter)

Definition at line 97 of file mspyLog.c.

◆ ScreenDump()

VOID ScreenDump ( _In_ ULONG  SequenceNumber,
_In_ WCHAR CONST *  Name,
_In_ PRECORD_DATA  RecordData 

Definition at line 1051 of file mspyLog.c.

Social Network

Services Overview

Architect, implement and test file system filter drivers for a wide range of functionality. We can offer several levels of assistance to meet your specific.

Contact Us

You are welcome to contact us for salse or partnership.

Sales: sales@easefilter.com
Support: support@easefilter.com
Info: info@easefilter.com