#include <windows.h>
#include <tchar.h>
#include <stdio.h>
Go to the source code of this file.
◆ HandlerProc
◆ pHandlerProc
◆ FindHandler()
Definition at line 11 of file common.c.
16{
20
24
25
27 {
28
30 for (
i = 0;
i < HandlerListCount; ++
i)
31 {
33 {
35 break;
36 }
37 }
38 }
39
40
41 if (
i == HandlerListCount)
42 {
44 }
45
47}
static HandlerItem HandlersList[]
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Referenced by _tmain(), DirtyMain(), FsInfoMain(), HardLinkMain(), and VolumeMain().
◆ OpenVolume()
Definition at line 49 of file common.c.
52{
56
57
58 if (!AllowRemote &&
Volume[1] ==
L':')
59 {
62 {
65 }
66 }
67
68
69 if (NtfsOnly)
70 {
72
75 {
78 }
79
81 {
84 }
85 }
86
87
89
90
94 {
97 }
98
99 return hVolume;
100}
int PrintErrorMessage(DWORD Error)
#define INVALID_HANDLE_VALUE
#define FILE_ATTRIBUTE_NORMAL
#define GetVolumeInformation
DWORD WINAPI GetLastError(void)
Referenced by DismountMain(), main(), NtfsInfoMain(), QueryMain(), SetMain(), and StatisticsMain().
◆ PrintDefaultUsage()
Definition at line 102 of file common.c.
106{
108
109
110 if (SubCommand !=
NULL)
111 {
113 }
114
115
117 for (
i = 0;
i < HandlerListCount; ++
i)
118 {
120 }
121}
Referenced by PrintUsage().
◆ PrintErrorMessage()
Definition at line 123 of file common.c.
124{
126
127
130 {
131
134 }
135 else
136 {
137
139 }
140
142}
HLOCAL NTAPI LocalFree(HLOCAL hMem)
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
#define FORMAT_MESSAGE_FROM_SYSTEM
#define FORMAT_MESSAGE_ALLOCATE_BUFFER