ReactOS  0.4.15-dev-3163-gf17c2c0
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 }
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
Definition: wdfdevice.h:2654
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
_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
#define NULL
Definition: types.h:112

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:317
_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:317
_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
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:547
_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
#define NULL
Definition: types.h:112
IN PVOID Instance
Definition: pci.h:361

◆ 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:317
_Outptr_ PDEVICE_OBJECT * DiskDeviceObject
Definition: fltkernel.h:1672

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:317
_Must_inspect_result_ _In_ FLT_FILE_NAME_OPTIONS NameOptions
Definition: fltkernel.h:1062
#define NULL
Definition: types.h:112

◆ 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:317
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:547
_Must_inspect_result_ _In_ FLT_FILE_NAME_OPTIONS NameOptions
Definition: fltkernel.h:1062
#define NULL
Definition: types.h:112
IN PVOID Instance
Definition: pci.h:361

◆ 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:317