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

Referenced by DriverEntry().

◆ FltFreeSecurityDescriptor()

VOID FLTAPI FltFreeSecurityDescriptor ( _In_ PSECURITY_DESCRIPTOR  SecurityDescriptor)

Definition at line 39 of file Misc.c.

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
_Must_inspect_result_ _In_ PFILE_OBJECT _In_opt_ HANDLE _In_ ULONG FileNameLength
Definition: fltkernel.h:1129
_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:1131
_Must_inspect_result_ _In_ FLT_FILE_NAME_OPTIONS NameOptions
Definition: fltkernel.h:1062
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:550
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_WMI_INSTANCE_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_opt_ WDFWMIINSTANCE * Instance
Definition: wdfwmi.h:481

◆ 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}
_Outptr_ PDEVICE_OBJECT * DiskDeviceObject
Definition: fltkernel.h:1672
UNICODE_STRING Volume
Definition: fltkernel.h:1172

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.

◆ 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 
)

◆ FltReleaseFileNameInformation()

VOID FLTAPI FltReleaseFileNameInformation ( _In_ PFLT_FILE_NAME_INFORMATION  FileNameInformation)

Definition at line 109 of file Misc.c.