ReactOS 0.4.15-dev-8093-g3285f69
udf_lib_common.h
Go to the documentation of this file.
1
2// Copyright (C) Alexander Telyatnikov, Ivan Keliukh, Yegor Anchishkin, SKIF Software, 1999-2013. Kiev, Ukraine
3// All rights reserved
4// This file was released under the GPLv2 on June 2015.
6
7#ifndef __UDF_LIB_COMMON__H__
8#define __UDF_LIB_COMMON__H__
9
10#ifndef WITHOUT_FORMATTER
11#include "udferr_usr.h"
12#endif
13
15
16#define UDF_SUCCESS(x) ( (UDF_STATUS)(x)>=0 )
17
19 PVOID lpParameter,
22 LONGLONG liOffset,
23 PULONG lpNumberOfBytesRead
24);
25
27 PVOID lpParameter,
30 LONGLONG liOffset,
31 PULONG lpNumberOfBytesRead
32);
33
35 PVOID lpParameter,
37 LPVOID lpInBuffer,
38 DWORD nInBufferSize,
39 LPVOID lpOutBuffer,
40 DWORD nOutBufferSize,
42);
43
44// For formatter
45
47 PVOID* lpParameter
48);
49
51 PVOID lpParameter,
54);
55
57 PVOID lpParameter
58);
59
60#endif //__UDF_LIB_COMMON__H__
#define __int64
Definition: basetyps.h:16
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
Definition: db.cpp:175
unsigned long DWORD
Definition: ntddk_ex.h:95
GLsizeiptr size
Definition: glext.h:5919
static DWORD block_size(DWORD block)
Definition: jsutils.c:66
long LONG
Definition: pedump.c:60
uint32_t * PULONG
Definition: typedefs.h:59
int64_t LONGLONG
Definition: typedefs.h:68
uint32_t * LPDWORD
Definition: typedefs.h:59
uint32_t ULONG
Definition: typedefs.h:59
UDF_STATUS(* PIOCTL_FUNCTION)(PVOID lpParameter, DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned)
UDF_STATUS(* PFLUSH_FUNCTION)(PVOID lpParameter)
UDF_STATUS(* PREAD_FUNCTION)(PVOID lpParameter, PVOID lpBuffer, ULONG nLength, LONGLONG liOffset, PULONG lpNumberOfBytesRead)
UDF_STATUS(* PREOPEN_FUNCTION)(PVOID *lpParameter)
UDF_STATUS(* PWRITE_FUNCTION)(PVOID lpParameter, PVOID lpBuffer, ULONG nLength, LONGLONG liOffset, PULONG lpNumberOfBytesRead)
LONG UDF_STATUS
UDF_STATUS(* PGETSIZE_FUNCTION)(PVOID lpParameter, __int64 *size, ULONG *block_size)
_In_ DWORD nLength
Definition: wincon.h:473
_In_ DWORD _In_ DWORD _In_ DWORD _Out_ LPDWORD lpBytesReturned
Definition: winddi.h:1705
_In_ DWORD dwIoControlCode
Definition: winddi.h:1700