ReactOS  0.4.14-dev-49-gfb4591c
Misc.c File Reference
#include "fltmgr.h"
#include "fltmgrint.h"
#include <debug.h>
Include dependency graph for Misc.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

NTSTATUS FLTAPI FltBuildDefaultSecurityDescriptor (_Outptr_ PSECURITY_DESCRIPTOR *SecurityDescriptor, _In_ ACCESS_MASK DesiredAccess)
 
VOID FLTAPI FltFreeSecurityDescriptor (_In_ PSECURITY_DESCRIPTOR SecurityDescriptor)
 
NTSTATUS FLTAPI FltGetDiskDeviceObject (_In_ PFLT_VOLUME Volume, _Outptr_ PDEVICE_OBJECT *DiskDeviceObject)
 
NTSTATUS FLTAPI FltGetFileNameInformationUnsafe (_In_ PFILE_OBJECT FileObject, _In_opt_ PFLT_INSTANCE Instance, _In_ FLT_FILE_NAME_OPTIONS NameOptions, _Outptr_ PFLT_FILE_NAME_INFORMATION *FileNameInformation)
 
NTSTATUS FLTAPI FltGetFileNameInformation (_In_ PFLT_CALLBACK_DATA CallbackData, _In_ FLT_FILE_NAME_OPTIONS NameOptions, _Outptr_ PFLT_FILE_NAME_INFORMATION *FileNameInformation)
 
NTSTATUS FLTAPI FltGetDestinationFileNameInformation (_In_ PFLT_INSTANCE Instance, _In_ PFILE_OBJECT FileObject, _In_opt_ HANDLE RootDirectory, _In_reads_bytes_(FileNameLength) PWSTR FileName, _In_ ULONG FileNameLength, _In_ FLT_FILE_NAME_OPTIONS NameOptions, _Outptr_ PFLT_FILE_NAME_INFORMATION *RetFileNameInformation)
 
VOID FLTAPI FltReleaseFileNameInformation (_In_ PFLT_FILE_NAME_INFORMATION FileNameInformation)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 14 of file Misc.c.

Function Documentation

◆ FltBuildDefaultSecurityDescriptor()

NTSTATUS FLTAPI FltBuildDefaultSecurityDescriptor ( _Outptr_ PSECURITY_DESCRIPTOR SecurityDescriptor,
_In_ ACCESS_MASK  DesiredAccess 
)

Definition at line 27 of file Misc.c.

31 {
34  return 0;
35 }
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
_In_ USHORT _In_ ULONG _In_ PSOCKADDR _In_ PSOCKADDR _Reserved_ ULONG _In_opt_ PVOID _In_opt_ const WSK_CLIENT_CONNECTION_DISPATCH _In_opt_ PEPROCESS _In_opt_ PETHREAD _In_opt_ PSECURITY_DESCRIPTOR SecurityDescriptor
Definition: wsk.h:182
smooth NULL
Definition: ftsmooth.c:416
_In_ PIO_STACK_LOCATION _Inout_ PFILE_OBJECT _Inout_ PVCB _Outptr_result_maybenull_ PDCB _In_ PDCB _In_ PDIRENT _In_ ULONG _In_ ULONG _In_ PUNICODE_STRING _In_ PACCESS_MASK DesiredAccess
Definition: create.c:4157

Referenced by DriverEntry().

◆ FltFreeSecurityDescriptor()

VOID FLTAPI FltFreeSecurityDescriptor ( _In_ PSECURITY_DESCRIPTOR  SecurityDescriptor)

Definition at line 39 of file Misc.c.

42 {
44 }
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
_In_ USHORT _In_ ULONG _In_ PSOCKADDR _In_ PSOCKADDR _Reserved_ ULONG _In_opt_ PVOID _In_opt_ const WSK_CLIENT_CONNECTION_DISPATCH _In_opt_ PEPROCESS _In_opt_ PETHREAD _In_opt_ PSECURITY_DESCRIPTOR SecurityDescriptor
Definition: wsk.h:182

Referenced by DriverEntry().

◆ FltGetDestinationFileNameInformation()

NTSTATUS FLTAPI FltGetDestinationFileNameInformation ( _In_ PFLT_INSTANCE  Instance,
_In_ PFILE_OBJECT  FileObject,
_In_opt_ HANDLE  RootDirectory,
_In_reads_bytes_(FileNameLength) PWSTR  FileName,
_In_ ULONG  FileNameLength,
_In_ FLT_FILE_NAME_OPTIONS  NameOptions,
_Outptr_ PFLT_FILE_NAME_INFORMATION RetFileNameInformation 
)

Definition at line 88 of file Misc.c.

96 {
104  return 0;
105 }
WCHAR RootDirectory[MAX_PATH]
Definition: format.c:74
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
_Must_inspect_result_ _In_ PFILE_OBJECT _In_opt_ HANDLE _In_ ULONG _In_ FLT_FILE_NAME_OPTIONS _Outptr_ PFLT_FILE_NAME_INFORMATION * RetFileNameInformation
Definition: fltkernel.h:1129
smooth NULL
Definition: ftsmooth.c:416
_Inout_ PFILE_OBJECT FileObject
Definition: cdprocs.h:593
_Must_inspect_result_ _In_ PFILE_OBJECT _In_opt_ HANDLE _In_ ULONG FileNameLength
Definition: fltkernel.h:1129
_Must_inspect_result_ _In_ FLT_FILE_NAME_OPTIONS NameOptions
Definition: fltkernel.h:1062
IN PVOID Instance
Definition: pci.h:359

◆ FltGetDiskDeviceObject()

NTSTATUS FLTAPI FltGetDiskDeviceObject ( _In_ PFLT_VOLUME  Volume,
_Outptr_ PDEVICE_OBJECT DiskDeviceObject 
)

Definition at line 48 of file Misc.c.

52 {
55  return 0;
56 }
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
_Outptr_ PDEVICE_OBJECT * DiskDeviceObject
Definition: fltkernel.h:1673

Referenced by FilterInstanceSetup().

◆ FltGetFileNameInformation()

NTSTATUS FLTAPI FltGetFileNameInformation ( _In_ PFLT_CALLBACK_DATA  CallbackData,
_In_ FLT_FILE_NAME_OPTIONS  NameOptions,
_Outptr_ PFLT_FILE_NAME_INFORMATION FileNameInformation 
)

Definition at line 75 of file Misc.c.

79 {
83  return 0;
84 }
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
smooth NULL
Definition: ftsmooth.c:416
_Must_inspect_result_ _In_ FLT_FILE_NAME_OPTIONS NameOptions
Definition: fltkernel.h:1062

◆ FltGetFileNameInformationUnsafe()

NTSTATUS FLTAPI FltGetFileNameInformationUnsafe ( _In_ PFILE_OBJECT  FileObject,
_In_opt_ PFLT_INSTANCE  Instance,
_In_ FLT_FILE_NAME_OPTIONS  NameOptions,
_Outptr_ PFLT_FILE_NAME_INFORMATION FileNameInformation 
)

Definition at line 60 of file Misc.c.

65 {
70  return 0;
71 }
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
smooth NULL
Definition: ftsmooth.c:416
_Inout_ PFILE_OBJECT FileObject
Definition: cdprocs.h:593
_Must_inspect_result_ _In_ FLT_FILE_NAME_OPTIONS NameOptions
Definition: fltkernel.h:1062
IN PVOID Instance
Definition: pci.h:359

◆ FltReleaseFileNameInformation()

VOID FLTAPI FltReleaseFileNameInformation ( _In_ PFLT_FILE_NAME_INFORMATION  FileNameInformation)

Definition at line 109 of file Misc.c.

111 {
113 }
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323