ReactOS 0.4.16-dev-297-gc569aee
udffs.h File Reference
#include "ntifs.h"
#include "ntifs_ex.h"
#include <pseh/pseh2.h>
#include "Include/check_env.h"
#include "ntdddisk.h"
#include <devioctl.h>
#include "Include/CrossNt/CrossNt.h"
#include <stddef.h>
#include <string.h>
#include <stdio.h>
#include "wcache.h"
#include "CDRW/cdrw_usr.h"
#include "Include/regtools.h"
#include "struct.h"
#include "env_spec.h"
#include "dldetect.h"
#include "udf_dbg.h"
#include "sys_spec.h"
#include "udf_info/udf_info.h"
#include "protos.h"
#include "Include/phys_lib.h"
#include "errmsg.h"
#include "udfpubl.h"
#include "mem.h"
#include "Include/udf_reg.h"
#include <ddk/mountmgr.h>
Include dependency graph for udffs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UDF_X_NAME_LEN   UDF_NAME_LEN
 
#define UDF_X_PATH_LEN   UDF_PATH_LEN
 
#define IFS_40
 
#define UDF_HANDLE_EAS
 
#define UDF_HDD_SUPPORT
 
#define UDF_ALLOW_FRAG_AD
 
#define UDF_DEFAULT_DIR_PACK_THRESHOLD   (128)
 
#define UDF_DEFAULT_READAHEAD_GRAN   0x10000
 
#define UDF_DEFAULT_SPARSE_THRESHOLD   (256*PACKETSIZE_UDF)
 
#define ALLOW_SPARSE
 
#define UDF_PACK_DIRS
 
#define MOUNT_ERR_THRESHOLD   256
 
#define UDF_VALID_FILE_ATTRIBUTES
 
#define UDF_DELAYED_CLOSE
 
#define UDF_FE_ALLOCATION_CHARGE
 
#define UDF_ALLOW_RENAME_MOVE
 
#define UDF_ALLOW_HARD_LINKS
 
#define UDF_DEFAULT_BM_FLUSH_TIMEOUT   16
 
#define UDF_DEFAULT_TREE_FLUSH_TIMEOUT   5
 
#define UDF_DEFAULT_FSP_THREAD_PER_CPU   (4)
 
#define UDF_FSP_THREAD_PER_CPU   (Vcb->ThreadsPerCpu)
 
#define FSP_PER_DEVICE_THRESHOLD   (UDFGlobalData.CPU_Count*UDF_FSP_THREAD_PER_CPU)
 
#define UDF_PANIC_IDENTIFIER   (0x86427531)
 
#define PEXTENDED_IO_STACK_LOCATION   PIO_STACK_LOCATION
 
#define NDEBUG
 
#define VALIDATE_STRUCTURES
 
#define OS_SUCCESS(a)   NT_SUCCESS(a)
 
#define OSSTATUS   NTSTATUS
 
#define try_return(S)   { S; goto try_exit; }
 
#define try_return1(S)   { S; goto try_exit1; }
 
#define try_return2(S)   { S; goto try_exit2; }
 
#define UDFSetFlag(Flag, Value)   ((Flag) |= (Value))
 
#define UDFClearFlag(Flag, Value)   ((Flag) &= ~(Value))
 
#define PtrOffset(BASE, OFFSET)   ((ULONG)((ULONG)(OFFSET) - (ULONG)(BASE)))
 
#define UDFQuadAlign(Value)   ((((uint32)(Value)) + 7) & 0xfffffff8)
 
#define UDFPanic(arg1, arg2, arg3)    (KeBugCheckEx(UDF_PANIC_IDENTIFIER, UDF_BUG_CHECK_ID | __LINE__, (uint32)(arg1), (uint32)(arg2), (uint32)(arg3)))
 
#define UdfIllegalFcbAccess(Vcb, DesiredAccess)
 
#define UDFPrint(Args)
 
#define UDFPrintErr(Args)   KdPrint(Args)
 
#define UDFAcquireResourceExclusive(Resource, CanWait)    (ExAcquireResourceExclusiveLite((Resource),(CanWait)))
 
#define UDFAcquireResourceShared(Resource, CanWait)    (ExAcquireResourceSharedLite((Resource),(CanWait)))
 
#define UDFReleaseResource(Resource)    (ExReleaseResourceForThreadLite((Resource), ExGetCurrentResourceThread()))
 
#define UDFDeleteResource(Resource)    (ExDeleteResourceLite((Resource)))
 
#define UDFConvertExclusiveToSharedLite(Resource)    (ExConvertExclusiveToSharedLite((Resource)))
 
#define UDFInitializeResourceLite(Resource)    (ExInitializeResourceLite((Resource)))
 
#define UDFAcquireSharedStarveExclusive(Resource, CanWait)    (ExAcquireSharedStarveExclusive((Resource),(CanWait)))
 
#define UDFAcquireSharedWaitForExclusive(Resource, CanWait)    (ExAcquireSharedWaitForExclusive((Resource),(CanWait)))
 
#define UDFInterlockedIncrement(addr)    (InterlockedIncrement((addr)))
 
#define UDFInterlockedDecrement(addr)    (InterlockedDecrement((addr)))
 
#define UDFInterlockedExchangeAdd(addr, i)    (InterlockedExchangeAdd((addr),(i)))
 
#define UDF_CHECK_PAGING_IO_RESOURCE(NTReqFCB)
 
#define UDF_CHECK_EXVCB_RESOURCE(Vcb)
 
#define UDF_CHECK_BITMAP_RESOURCE(Vcb)
 
#define UDFRaiseStatus(IC, S)
 
#define UDFNormalizeAndRaiseStatus(IC, S)
 
#define UDFIsRawDevice(RC)
 
#define UDF_FILE_INIT   (0x00000001)
 
#define UDF_FILE_FILTER   (0x00000002)
 
#define UDF_FILE_CREATE   (0x00000003)
 
#define UDF_FILE_CLEANUP   (0x00000004)
 
#define UDF_FILE_CLOSE   (0x00000005)
 
#define UDF_FILE_READ   (0x00000006)
 
#define UDF_FILE_WRITE   (0x00000007)
 
#define UDF_FILE_INFORMATION   (0x00000008)
 
#define UDF_FILE_FLUSH   (0x00000009)
 
#define UDF_FILE_VOL_INFORMATION   (0x0000000A)
 
#define UDF_FILE_DIR_CONTROL   (0x0000000B)
 
#define UDF_FILE_FILE_CONTROL   (0x0000000C)
 
#define UDF_FILE_DEVICE_CONTROL   (0x0000000D)
 
#define UDF_FILE_SHUTDOWN   (0x0000000E)
 
#define UDF_FILE_LOCK_CONTROL   (0x0000000F)
 
#define UDF_FILE_SECURITY   (0x00000010)
 
#define UDF_FILE_EXT_ATTR   (0x00000011)
 
#define UDF_FILE_MISC   (0x00000012)
 
#define UDF_FILE_FAST_IO   (0x00000013)
 
#define UDF_FILE_FS_CONTROL   (0x00000014)
 
#define UDF_FILE_PHYSICAL   (0x00000015)
 
#define UDF_FILE_PNP   (0x00000016)
 
#define UDF_FILE_VERIFY_FS_CONTROL   (0x00000017)
 
#define UDF_FILE_ENV_SPEC   (0x00000018)
 
#define UDF_FILE_SYS_SPEC   (0x00000019)
 
#define UDF_FILE_PHYS_EJECT   (0x0000001A)
 
#define UDF_FILE_DLD   (0x00000200)
 
#define UDF_FILE_MEM   (0x00000201)
 
#define UDF_FILE_MEMH   (0x00000202)
 
#define UDF_FILE_WCACHE   (0x00000203)
 
#define UDF_FILE_UDF_INFO   (0x00000100)
 
#define UDF_FILE_UDF_INFO_ALLOC   (0x00000101)
 
#define UDF_FILE_UDF_INFO_DIR   (0x00000102)
 
#define UDF_FILE_UDF_INFO_MOUNT   (0x00000103)
 
#define UDF_FILE_UDF_INFO_EXTENT   (0x00000104)
 
#define UDF_FILE_UDF_INFO_REMAP   (0x00000105)
 
#define UDF_FILE_PROTECT   (0x00000300)
 
#define SystemAllocatePool(hernya, size)   ExAllocatePoolWithTag(hernya, size, 'Snwd')
 
#define SystemFreePool(addr)   ExFreePool((PVOID)(addr))
 

Variables

UDFData UDFGlobalData
 
CCHAR DefLetter []
 

Macro Definition Documentation

◆ ALLOW_SPARSE

#define ALLOW_SPARSE

Definition at line 58 of file udffs.h.

◆ FSP_PER_DEVICE_THRESHOLD

#define FSP_PER_DEVICE_THRESHOLD   (UDFGlobalData.CPU_Count*UDF_FSP_THREAD_PER_CPU)

Definition at line 100 of file udffs.h.

◆ IFS_40

#define IFS_40

Definition at line 36 of file udffs.h.

◆ MOUNT_ERR_THRESHOLD

#define MOUNT_ERR_THRESHOLD   256

Definition at line 62 of file udffs.h.

◆ NDEBUG

#define NDEBUG

Definition at line 121 of file udffs.h.

◆ OS_SUCCESS

#define OS_SUCCESS (   a)    NT_SUCCESS(a)

Definition at line 129 of file udffs.h.

◆ OSSTATUS

#define OSSTATUS   NTSTATUS

Definition at line 130 of file udffs.h.

◆ PEXTENDED_IO_STACK_LOCATION

◆ PtrOffset

#define PtrOffset (   BASE,
  OFFSET 
)    ((ULONG)((ULONG)(OFFSET) - (ULONG)(BASE)))

Definition at line 192 of file udffs.h.

◆ SystemAllocatePool

#define SystemAllocatePool (   hernya,
  size 
)    ExAllocatePoolWithTag(hernya, size, 'Snwd')

Definition at line 373 of file udffs.h.

◆ SystemFreePool

#define SystemFreePool (   addr)    ExFreePool((PVOID)(addr))

Definition at line 374 of file udffs.h.

◆ try_return

#define try_return (   S)    { S; goto try_exit; }

Definition at line 184 of file udffs.h.

◆ try_return1

#define try_return1 (   S)    { S; goto try_exit1; }

Definition at line 185 of file udffs.h.

◆ try_return2

#define try_return2 (   S)    { S; goto try_exit2; }

Definition at line 186 of file udffs.h.

◆ UDF_ALLOW_FRAG_AD

#define UDF_ALLOW_FRAG_AD

Definition at line 47 of file udffs.h.

◆ UDF_ALLOW_HARD_LINKS

#define UDF_ALLOW_HARD_LINKS

Definition at line 87 of file udffs.h.

◆ UDF_ALLOW_RENAME_MOVE

#define UDF_ALLOW_RENAME_MOVE

Definition at line 85 of file udffs.h.

◆ UDF_CHECK_BITMAP_RESOURCE

#define UDF_CHECK_BITMAP_RESOURCE (   Vcb)

Definition at line 262 of file udffs.h.

◆ UDF_CHECK_EXVCB_RESOURCE

#define UDF_CHECK_EXVCB_RESOURCE (   Vcb)

Definition at line 261 of file udffs.h.

◆ UDF_CHECK_PAGING_IO_RESOURCE

#define UDF_CHECK_PAGING_IO_RESOURCE (   NTReqFCB)

Definition at line 260 of file udffs.h.

◆ UDF_DEFAULT_BM_FLUSH_TIMEOUT

#define UDF_DEFAULT_BM_FLUSH_TIMEOUT   16

Definition at line 95 of file udffs.h.

◆ UDF_DEFAULT_DIR_PACK_THRESHOLD

#define UDF_DEFAULT_DIR_PACK_THRESHOLD   (128)

Definition at line 50 of file udffs.h.

◆ UDF_DEFAULT_FSP_THREAD_PER_CPU

#define UDF_DEFAULT_FSP_THREAD_PER_CPU   (4)

Definition at line 98 of file udffs.h.

◆ UDF_DEFAULT_READAHEAD_GRAN

#define UDF_DEFAULT_READAHEAD_GRAN   0x10000

Definition at line 55 of file udffs.h.

◆ UDF_DEFAULT_SPARSE_THRESHOLD

#define UDF_DEFAULT_SPARSE_THRESHOLD   (256*PACKETSIZE_UDF)

Definition at line 56 of file udffs.h.

◆ UDF_DEFAULT_TREE_FLUSH_TIMEOUT

#define UDF_DEFAULT_TREE_FLUSH_TIMEOUT   5

Definition at line 96 of file udffs.h.

◆ UDF_DELAYED_CLOSE

#define UDF_DELAYED_CLOSE

Definition at line 79 of file udffs.h.

◆ UDF_FE_ALLOCATION_CHARGE

#define UDF_FE_ALLOCATION_CHARGE

Definition at line 82 of file udffs.h.

◆ UDF_FILE_CLEANUP

#define UDF_FILE_CLEANUP   (0x00000004)

Definition at line 333 of file udffs.h.

◆ UDF_FILE_CLOSE

#define UDF_FILE_CLOSE   (0x00000005)

Definition at line 334 of file udffs.h.

◆ UDF_FILE_CREATE

#define UDF_FILE_CREATE   (0x00000003)

Definition at line 332 of file udffs.h.

◆ UDF_FILE_DEVICE_CONTROL

#define UDF_FILE_DEVICE_CONTROL   (0x0000000D)

Definition at line 342 of file udffs.h.

◆ UDF_FILE_DIR_CONTROL

#define UDF_FILE_DIR_CONTROL   (0x0000000B)

Definition at line 340 of file udffs.h.

◆ UDF_FILE_DLD

#define UDF_FILE_DLD   (0x00000200)

Definition at line 357 of file udffs.h.

◆ UDF_FILE_ENV_SPEC

#define UDF_FILE_ENV_SPEC   (0x00000018)

Definition at line 353 of file udffs.h.

◆ UDF_FILE_EXT_ATTR

#define UDF_FILE_EXT_ATTR   (0x00000011)

Definition at line 346 of file udffs.h.

◆ UDF_FILE_FAST_IO

#define UDF_FILE_FAST_IO   (0x00000013)

Definition at line 348 of file udffs.h.

◆ UDF_FILE_FILE_CONTROL

#define UDF_FILE_FILE_CONTROL   (0x0000000C)

Definition at line 341 of file udffs.h.

◆ UDF_FILE_FILTER

#define UDF_FILE_FILTER   (0x00000002)

Definition at line 331 of file udffs.h.

◆ UDF_FILE_FLUSH

#define UDF_FILE_FLUSH   (0x00000009)

Definition at line 338 of file udffs.h.

◆ UDF_FILE_FS_CONTROL

#define UDF_FILE_FS_CONTROL   (0x00000014)

Definition at line 349 of file udffs.h.

◆ UDF_FILE_INFORMATION

#define UDF_FILE_INFORMATION   (0x00000008)

Definition at line 337 of file udffs.h.

◆ UDF_FILE_INIT

#define UDF_FILE_INIT   (0x00000001)

Definition at line 330 of file udffs.h.

◆ UDF_FILE_LOCK_CONTROL

#define UDF_FILE_LOCK_CONTROL   (0x0000000F)

Definition at line 344 of file udffs.h.

◆ UDF_FILE_MEM

#define UDF_FILE_MEM   (0x00000201)

Definition at line 358 of file udffs.h.

◆ UDF_FILE_MEMH

#define UDF_FILE_MEMH   (0x00000202)

Definition at line 359 of file udffs.h.

◆ UDF_FILE_MISC

#define UDF_FILE_MISC   (0x00000012)

Definition at line 347 of file udffs.h.

◆ UDF_FILE_PHYS_EJECT

#define UDF_FILE_PHYS_EJECT   (0x0000001A)

Definition at line 355 of file udffs.h.

◆ UDF_FILE_PHYSICAL

#define UDF_FILE_PHYSICAL   (0x00000015)

Definition at line 350 of file udffs.h.

◆ UDF_FILE_PNP

#define UDF_FILE_PNP   (0x00000016)

Definition at line 351 of file udffs.h.

◆ UDF_FILE_PROTECT

#define UDF_FILE_PROTECT   (0x00000300)

Definition at line 370 of file udffs.h.

◆ UDF_FILE_READ

#define UDF_FILE_READ   (0x00000006)

Definition at line 335 of file udffs.h.

◆ UDF_FILE_SECURITY

#define UDF_FILE_SECURITY   (0x00000010)

Definition at line 345 of file udffs.h.

◆ UDF_FILE_SHUTDOWN

#define UDF_FILE_SHUTDOWN   (0x0000000E)

Definition at line 343 of file udffs.h.

◆ UDF_FILE_SYS_SPEC

#define UDF_FILE_SYS_SPEC   (0x00000019)

Definition at line 354 of file udffs.h.

◆ UDF_FILE_UDF_INFO

#define UDF_FILE_UDF_INFO   (0x00000100)

Definition at line 362 of file udffs.h.

◆ UDF_FILE_UDF_INFO_ALLOC

#define UDF_FILE_UDF_INFO_ALLOC   (0x00000101)

Definition at line 363 of file udffs.h.

◆ UDF_FILE_UDF_INFO_DIR

#define UDF_FILE_UDF_INFO_DIR   (0x00000102)

Definition at line 364 of file udffs.h.

◆ UDF_FILE_UDF_INFO_EXTENT

#define UDF_FILE_UDF_INFO_EXTENT   (0x00000104)

Definition at line 366 of file udffs.h.

◆ UDF_FILE_UDF_INFO_MOUNT

#define UDF_FILE_UDF_INFO_MOUNT   (0x00000103)

Definition at line 365 of file udffs.h.

◆ UDF_FILE_UDF_INFO_REMAP

#define UDF_FILE_UDF_INFO_REMAP   (0x00000105)

Definition at line 367 of file udffs.h.

◆ UDF_FILE_VERIFY_FS_CONTROL

#define UDF_FILE_VERIFY_FS_CONTROL   (0x00000017)

Definition at line 352 of file udffs.h.

◆ UDF_FILE_VOL_INFORMATION

#define UDF_FILE_VOL_INFORMATION   (0x0000000A)

Definition at line 339 of file udffs.h.

◆ UDF_FILE_WCACHE

#define UDF_FILE_WCACHE   (0x00000203)

Definition at line 360 of file udffs.h.

◆ UDF_FILE_WRITE

#define UDF_FILE_WRITE   (0x00000007)

Definition at line 336 of file udffs.h.

◆ UDF_FSP_THREAD_PER_CPU

#define UDF_FSP_THREAD_PER_CPU   (Vcb->ThreadsPerCpu)

Definition at line 99 of file udffs.h.

◆ UDF_HANDLE_EAS

#define UDF_HANDLE_EAS

Definition at line 43 of file udffs.h.

◆ UDF_HDD_SUPPORT

#define UDF_HDD_SUPPORT

Definition at line 45 of file udffs.h.

◆ UDF_PACK_DIRS

#define UDF_PACK_DIRS

Definition at line 60 of file udffs.h.

◆ UDF_PANIC_IDENTIFIER

#define UDF_PANIC_IDENTIFIER   (0x86427531)

Definition at line 105 of file udffs.h.

◆ UDF_VALID_FILE_ATTRIBUTES

#define UDF_VALID_FILE_ATTRIBUTES
Value:
/*FILE_ATTRIBUTE_DEVICE | */ \
#define FILE_ATTRIBUTE_NORMAL
Definition: compat.h:137
#define FILE_ATTRIBUTE_READONLY
Definition: nt_native.h:702
#define FILE_ATTRIBUTE_HIDDEN
Definition: nt_native.h:703
#define FILE_ATTRIBUTE_SYSTEM
Definition: nt_native.h:704
#define FILE_ATTRIBUTE_ARCHIVE
Definition: nt_native.h:706
#define FILE_ATTRIBUTE_DIRECTORY
Definition: nt_native.h:705
#define FILE_ATTRIBUTE_TEMPORARY
Definition: nt_native.h:708
#define FILE_ATTRIBUTE_SPARSE_FILE
Definition: ntifs_ex.h:380

Definition at line 64 of file udffs.h.

◆ UDF_X_NAME_LEN

#define UDF_X_NAME_LEN   UDF_NAME_LEN

Definition at line 32 of file udffs.h.

◆ UDF_X_PATH_LEN

#define UDF_X_PATH_LEN   UDF_PATH_LEN

Definition at line 33 of file udffs.h.

◆ UDFAcquireResourceExclusive

#define UDFAcquireResourceExclusive (   Resource,
  CanWait 
)     (ExAcquireResourceExclusiveLite((Resource),(CanWait)))

Definition at line 233 of file udffs.h.

◆ UDFAcquireResourceShared

#define UDFAcquireResourceShared (   Resource,
  CanWait 
)     (ExAcquireResourceSharedLite((Resource),(CanWait)))

Definition at line 235 of file udffs.h.

◆ UDFAcquireSharedStarveExclusive

#define UDFAcquireSharedStarveExclusive (   Resource,
  CanWait 
)     (ExAcquireSharedStarveExclusive((Resource),(CanWait)))

Definition at line 246 of file udffs.h.

◆ UDFAcquireSharedWaitForExclusive

#define UDFAcquireSharedWaitForExclusive (   Resource,
  CanWait 
)     (ExAcquireSharedWaitForExclusive((Resource),(CanWait)))

Definition at line 248 of file udffs.h.

◆ UDFClearFlag

#define UDFClearFlag (   Flag,
  Value 
)    ((Flag) &= ~(Value))

Definition at line 190 of file udffs.h.

◆ UDFConvertExclusiveToSharedLite

#define UDFConvertExclusiveToSharedLite (   Resource)     (ExConvertExclusiveToSharedLite((Resource)))

Definition at line 242 of file udffs.h.

◆ UDFDeleteResource

#define UDFDeleteResource (   Resource)     (ExDeleteResourceLite((Resource)))

Definition at line 240 of file udffs.h.

◆ UdfIllegalFcbAccess

#define UdfIllegalFcbAccess (   Vcb,
  DesiredAccess 
)
Value:
(( \
DELETE | \
WRITE_DAC )) \
) || ( \
!(Vcb->WriteSecurity) && \
0 /*WRITE_DAC*/ )) \
))
#define FlagOn(_F, _SF)
Definition: ext2fs.h:179
#define FILE_WRITE_DATA
Definition: nt_native.h:631
#define WRITE_DAC
Definition: nt_native.h:59
#define FILE_DELETE_CHILD
Definition: nt_native.h:645
#define FILE_WRITE_ATTRIBUTES
Definition: nt_native.h:649
#define FILE_APPEND_DATA
Definition: nt_native.h:634
#define DELETE
Definition: nt_native.h:57
#define WRITE_OWNER
Definition: nt_native.h:60
#define FILE_ADD_SUBDIRECTORY
Definition: nt_native.h:635
#define FILE_ADD_FILE
Definition: nt_native.h:632
#define FILE_WRITE_EA
Definition: nt_native.h:640
#define Vcb
Definition: cdprocs.h:1415
#define UDF_VCB_FLAGS_VOLUME_READ_ONLY
Definition: udf_common.h:463
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
Definition: wdfdevice.h:2658

Definition at line 201 of file udffs.h.

◆ UDFInitializeResourceLite

#define UDFInitializeResourceLite (   Resource)     (ExInitializeResourceLite((Resource)))

Definition at line 244 of file udffs.h.

◆ UDFInterlockedDecrement

#define UDFInterlockedDecrement (   addr)     (InterlockedDecrement((addr)))

Definition at line 253 of file udffs.h.

◆ UDFInterlockedExchangeAdd

#define UDFInterlockedExchangeAdd (   addr,
  i 
)     (InterlockedExchangeAdd((addr),(i)))

Definition at line 255 of file udffs.h.

◆ UDFInterlockedIncrement

#define UDFInterlockedIncrement (   addr)     (InterlockedIncrement((addr)))

Definition at line 251 of file udffs.h.

◆ UDFIsRawDevice

#define UDFIsRawDevice (   RC)
Value:
( \
((RC) == STATUS_DEVICE_NOT_READY) || \
)
#define STATUS_DEVICE_NOT_READY
Definition: shellext.h:70
#define STATUS_NO_MEDIA_IN_DEVICE
Definition: udferr_usr.h:141

Definition at line 322 of file udffs.h.

◆ UDFNormalizeAndRaiseStatus

#define UDFNormalizeAndRaiseStatus (   IC,
  S 
)
Value:
{ \
(IC)->SavedExceptionCode = FsRtlNormalizeNtstatus((S),STATUS_UNEXPECTED_IO_ERROR); \
ExRaiseStatus( (IC)->SavedExceptionCode ); \
}
NTSTATUS NTAPI FsRtlNormalizeNtstatus(IN NTSTATUS NtStatusToNormalize, IN NTSTATUS NormalizedNtStatus)
Definition: filter.c:90
#define STATUS_UNEXPECTED_IO_ERROR
Definition: ntstatus.h:469
Definition: movable.cpp:9

Definition at line 317 of file udffs.h.

◆ UDFPanic

#define UDFPanic (   arg1,
  arg2,
  arg3 
)     (KeBugCheckEx(UDF_PANIC_IDENTIFIER, UDF_BUG_CHECK_ID | __LINE__, (uint32)(arg1), (uint32)(arg2), (uint32)(arg3)))

Definition at line 197 of file udffs.h.

◆ UDFPrint

#define UDFPrint (   Args)

Definition at line 223 of file udffs.h.

◆ UDFPrintErr

#define UDFPrintErr (   Args)    KdPrint(Args)

Definition at line 227 of file udffs.h.

◆ UDFQuadAlign

#define UDFQuadAlign (   Value)    ((((uint32)(Value)) + 7) & 0xfffffff8)

Definition at line 194 of file udffs.h.

◆ UDFRaiseStatus

#define UDFRaiseStatus (   IC,
  S 
)
Value:
{ \
(IC)->SavedExceptionCode = (S); \
ExRaiseStatus( (S) ); \
}

Definition at line 312 of file udffs.h.

◆ UDFReleaseResource

Definition at line 238 of file udffs.h.

◆ UDFSetFlag

#define UDFSetFlag (   Flag,
  Value 
)    ((Flag) |= (Value))

Definition at line 189 of file udffs.h.

◆ VALIDATE_STRUCTURES

#define VALIDATE_STRUCTURES

Definition at line 126 of file udffs.h.

Variable Documentation

◆ DefLetter

CCHAR DefLetter[]
extern

◆ UDFGlobalData