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

Go to the source code of this file.


#define SUCCESS   0
#define USAGE_ERROR   1
#define EXIT_PROGRAM   4
#define PROGRAM_EXIT_COMMAND   "exit"
#define CMDLINE_SIZE   256
#define NUM_PARAMS   40
#define MINISPY_NAME   L"MiniSpy"


 _Analysis_mode_ (_Analysis_code_type_user_code_)
int _cdecl main (_In_ int argc, _In_reads_(argc) char *argv[])
DWORD InterpretCommand (_In_ int argc, _In_reads_(argc) char *argv[], _In_ PLOG_CONTEXT Context)
ULONG IsAttachedToVolume (_In_ LPCWSTR VolumeName)
void ListDevices (VOID)

Macro Definition Documentation


#define CMDLINE_SIZE   256




#define EXIT_PROGRAM   4






#define MINISPY_NAME   L"MiniSpy"


#define NUM_PARAMS   40


#define PROGRAM_EXIT_COMMAND   "exit"


#define SUCCESS   0


#define USAGE_ERROR   1

Function Documentation

◆ _Analysis_mode_()

_Analysis_mode_ ( _Analysis_code_type_user_code_  )

Definition at line 23 of file mspyUser.c.

◆ InterpretCommand()

DWORD InterpretCommand ( _In_ int  argc,
_In_reads_(argc) char *  argv[],
_In_ PLOG_CONTEXT  Context 

Definition at line 444 of file mspyUser.c.

◆ IsAttachedToVolume()

ULONG IsAttachedToVolume ( _In_ LPCWSTR  VolumeName)

Definition at line 782 of file mspyUser.c.

◆ ListDevices()

void ListDevices ( VOID  )

Definition at line 867 of file mspyUser.c.

◆ main()

int _cdecl main ( _In_ int  argc,
_In_reads_(argc) char *  argv[] 

Definition at line 168 of file mspyUser.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