26#ifndef _FXFILEOBJECT_H_
27#define _FXFILEOBJECT_H_
37#if (FX_CORE_MODE == FX_CORE_USER_MODE)
112 #if (FX_CORE_MODE == FX_CORE_KERNEL_MODE)
240#if (FX_CORE_MODE == FX_CORE_USER_MODE)
static _Must_inspect_result_ NTSTATUS _CreateFileObject(__in FxDevice *pDevice, __in MdIrp Irp, __in WDF_FILEOBJECT_CLASS FileObjectClass, __in_opt PWDF_OBJECT_ATTRIBUTES pObjectAttributes, __in_opt MdFileObject pWdmFileObject, __deref_out_opt FxFileObject **ppFxFileObject)
VOID SetFileObjectContext(_In_ MdFileObject WdmFileObject, _In_ WDF_FILEOBJECT_CLASS NormalizedFileClass, _In_ MdIrp Irp, _In_ FxDevice *Device)
__inline VOID SetPkgCleanupCloseContext(PVOID Context)
VOID GetConstraints(__in WDF_EXECUTION_LEVEL *ExecutionLevel, __in WDF_SYNCHRONIZATION_SCOPE *SynchronizationScope)
VOID DeleteFileObjectFromFailedCreate(VOID)
UNICODE_STRING m_FileName
__inline PVOID GetPkgCleanupCloseContext(VOID)
FxFileObject * GetRelatedFileObject(VOID)
static _Must_inspect_result_ NTSTATUS _GetFileObjectFromWdm(__in FxDevice *pDevice, __in WDF_FILEOBJECT_CLASS FileObjectClass, __in_opt MdFileObject pWdmFileObject, __deref_out_opt FxFileObject **ppFxFileObject)
__inline ULONG GetFlags(VOID)
__inline MdFileObject GetWdmFileObject(VOID)
static VOID _DestroyFileObject(__in FxDevice *pDevice, __in WDF_FILEOBJECT_CLASS FileObjectClass, __in_opt MdFileObject pWdmFileObject)
MxFileObject m_FileObject
__inline WDFFILEOBJECT GetHandle(VOID)
__inline CfxDevice * GetDevice(VOID)
__inline PLARGE_INTEGER GetCurrentByteOffset(VOID)
_Must_inspect_result_ FxCallbackLock * GetCallbackLockPtr(__deref_out_opt FxObject **LockObject)
_Must_inspect_result_ NTSTATUS UpdateProcessKeepAliveCount(_In_ BOOLEAN Increment)
__inline PUNICODE_STRING GetFileName(VOID)
FxFileObject * m_RelatedFileObject
_Must_inspect_result_ NTSTATUS QueryInterface(__in FxQueryInterfaceParams *Params)
__inline MdFileObject GetFileObject(VOID)
PUNICODE_STRING GetFileName(_Inout_opt_ PUNICODE_STRING Filename)
PLARGE_INTEGER GetCurrentByteOffset(VOID)
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG Increment
return pObject GetObjectHandle()
#define _Must_inspect_result_
PFILE_OBJECT MdFileObject
#define LockObject(Object)
_Must_inspect_result_ _In_ WDFDEVICE Device
enum _WDF_FILEOBJECT_CLASS WDF_FILEOBJECT_CLASS
WDF_EXTERN_C_START enum _WDF_EXECUTION_LEVEL WDF_EXECUTION_LEVEL
enum _WDF_SYNCHRONIZATION_SCOPE WDF_SYNCHRONIZATION_SCOPE
_In_ WDFIOTARGET _In_ PWDF_REQUEST_COMPLETION_PARAMS Params