WDK Mini Filter Example
ncoffsets.c File Reference
#include "nc.h"

Go to the source code of this file.

Functions

BOOLEAN NcDetermineStructureOffsets (_Out_ PDIRECTORY_CONTROL_OFFSETS Offsets, _In_ FILE_INFORMATION_CLASS Information)
 
VOID NcCalculateDirectoryNotificationOffsets (PDIRECTORY_CONTROL_OFFSETS Offsets)
 
ULONG NcGetNextEntryOffset (_In_ CONST PVOID Buffer, _In_ CONST PDIRECTORY_CONTROL_OFFSETS Offsets)
 
PVOID NcGetNextEntry (_In_ CONST PVOID Buffer, _In_ CONST PDIRECTORY_CONTROL_OFFSETS Offsets)
 
ULONG NcGetFileNameLength (_In_ CONST PVOID Buffer, _In_ CONST PDIRECTORY_CONTROL_OFFSETS Offsets)
 
ULONG NcGetEntrySize (_In_ CONST PVOID Buffer, _In_ CONST PDIRECTORY_CONTROL_OFFSETS Offsets)
 
PWSTR NcGetFileName (_In_ CONST PVOID Buffer, _In_ CONST PDIRECTORY_CONTROL_OFFSETS Offsets)
 
PWSTR NcGetShortName (_In_ CONST PVOID Buffer, _In_ CONST PDIRECTORY_CONTROL_OFFSETS Offsets)
 
CCHAR NcGetShortNameLength (_In_ CONST PVOID Buffer, _In_ CONST PDIRECTORY_CONTROL_OFFSETS Offsets)
 
VOID NcSetNextEntryOffset (_Inout_ PVOID Buffer, _In_ CONST PDIRECTORY_CONTROL_OFFSETS Offsets, _In_ BOOLEAN ForceLast)
 
VOID NcSetFileName (_In_ PVOID Entry, _In_ PWSTR NewName, _In_ ULONG Length, _In_ CONST PDIRECTORY_CONTROL_OFFSETS Offsets, _In_ BOOLEAN ForceLast)
 
VOID NcSetShortName (_In_ PVOID Entry, _In_ PWSTR NewShortName, _In_ USHORT Length, _In_ CONST PDIRECTORY_CONTROL_OFFSETS Offsets)
 

Function Documentation

◆ NcCalculateDirectoryNotificationOffsets()

VOID NcCalculateDirectoryNotificationOffsets ( PDIRECTORY_CONTROL_OFFSETS  Offsets)

Definition at line 201 of file ncoffsets.c.

◆ NcDetermineStructureOffsets()

BOOLEAN NcDetermineStructureOffsets ( _Out_ PDIRECTORY_CONTROL_OFFSETS  Offsets,
_In_ FILE_INFORMATION_CLASS  Information 
)

Definition at line 52 of file ncoffsets.c.

◆ NcGetEntrySize()

ULONG NcGetEntrySize ( _In_ CONST PVOID  Buffer,
_In_ CONST PDIRECTORY_CONTROL_OFFSETS  Offsets 
)

Definition at line 328 of file ncoffsets.c.

◆ NcGetFileName()

PWSTR NcGetFileName ( _In_ CONST PVOID  Buffer,
_In_ CONST PDIRECTORY_CONTROL_OFFSETS  Offsets 
)

Definition at line 368 of file ncoffsets.c.

◆ NcGetFileNameLength()

ULONG NcGetFileNameLength ( _In_ CONST PVOID  Buffer,
_In_ CONST PDIRECTORY_CONTROL_OFFSETS  Offsets 
)

Definition at line 299 of file ncoffsets.c.

◆ NcGetNextEntry()

PVOID NcGetNextEntry ( _In_ CONST PVOID  Buffer,
_In_ CONST PDIRECTORY_CONTROL_OFFSETS  Offsets 
)

Definition at line 269 of file ncoffsets.c.

◆ NcGetNextEntryOffset()

ULONG NcGetNextEntryOffset ( _In_ CONST PVOID  Buffer,
_In_ CONST PDIRECTORY_CONTROL_OFFSETS  Offsets 
)

Definition at line 240 of file ncoffsets.c.

◆ NcGetShortName()

PWSTR NcGetShortName ( _In_ CONST PVOID  Buffer,
_In_ CONST PDIRECTORY_CONTROL_OFFSETS  Offsets 
)

Definition at line 396 of file ncoffsets.c.

◆ NcGetShortNameLength()

CCHAR NcGetShortNameLength ( _In_ CONST PVOID  Buffer,
_In_ CONST PDIRECTORY_CONTROL_OFFSETS  Offsets 
)

Definition at line 432 of file ncoffsets.c.

◆ NcSetFileName()

VOID NcSetFileName ( _In_ PVOID  Entry,
_In_ PWSTR  NewName,
_In_ ULONG  Length,
_In_ CONST PDIRECTORY_CONTROL_OFFSETS  Offsets,
_In_ BOOLEAN  ForceLast 
)

Definition at line 527 of file ncoffsets.c.

◆ NcSetNextEntryOffset()

VOID NcSetNextEntryOffset ( _Inout_ PVOID  Buffer,
_In_ CONST PDIRECTORY_CONTROL_OFFSETS  Offsets,
_In_ BOOLEAN  ForceLast 
)

Definition at line 470 of file ncoffsets.c.

◆ NcSetShortName()

VOID NcSetShortName ( _In_ PVOID  Entry,
_In_ PWSTR  NewShortName,
_In_ USHORT  Length,
_In_ CONST PDIRECTORY_CONTROL_OFFSETS  Offsets 
)

Definition at line 587 of file ncoffsets.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