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.

Macros

#define SUCCESS   0
 
#define USAGE_ERROR   1
 
#define EXIT_INTERPRETER   2
 
#define EXIT_PROGRAM   4
 
#define INTERPRETER_EXIT_COMMAND1   "go"
 
#define INTERPRETER_EXIT_COMMAND2   "g"
 
#define PROGRAM_EXIT_COMMAND   "exit"
 
#define CMDLINE_SIZE   256
 
#define NUM_PARAMS   40
 
#define MINISPY_NAME   L"MiniSpy"
 

Functions

 _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

◆ CMDLINE_SIZE

#define CMDLINE_SIZE   256

◆ EXIT_INTERPRETER

#define EXIT_INTERPRETER   2

◆ EXIT_PROGRAM

#define EXIT_PROGRAM   4

◆ INTERPRETER_EXIT_COMMAND1

#define INTERPRETER_EXIT_COMMAND1   "go"

◆ INTERPRETER_EXIT_COMMAND2

#define INTERPRETER_EXIT_COMMAND2   "g"

◆ MINISPY_NAME

#define MINISPY_NAME   L"MiniSpy"

◆ NUM_PARAMS

#define NUM_PARAMS   40

◆ PROGRAM_EXIT_COMMAND

#define PROGRAM_EXIT_COMMAND   "exit"

◆ SUCCESS

#define SUCCESS   0

◆ USAGE_ERROR

#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