105{
109#if 0
111#endif
115
116 DPRINT1(
"CreateEfiPartition()\n");
117
119 {
122 }
123
125 {
128 }
129
131 {
133 {
134
135 DPRINT(
"NoErr\n", pszSuffix);
137#if 0
139#endif
140 }
141 }
142
144 {
146 {
147
148 DPRINT(
"Size : %s\n", pszSuffix);
149
152 {
155 }
156 }
158 {
159
160 DPRINT(
"Offset : %s\n", pszSuffix);
162#if 0
165 {
168 }
169#endif
170 }
172 {
173
174 }
175 else
176 {
179 }
180 }
181
182 DPRINT1(
"Size: %I64u\n", ullSize);
183#if 0
184 DPRINT1(
"Offset: %I64u\n", ullOffset);
185#endif
186
187
188 if (ullSize != 0)
190 else
191 ullSectorCount = 0;
192
193 DPRINT1(
"SectorCount: %I64u\n", ullSectorCount);
194
195#ifdef DUMP_PARTITION_LIST
197#endif
198
200 ullSectorCount,
201 &PARTITION_SYSTEM_GUID);
202 if (PartEntry ==
FALSE)
203 {
207 }
208
211
212#ifdef DUMP_PARTITION_LIST
214#endif
215
219 {
223 }
224
226
228}
void ConPuts(FILE *fp, LPCWSTR psz)
void ConResPuts(FILE *fp, UINT nID)
static PPARTENTRY InsertGptPartition(_In_ PDISKENTRY pDisk, _In_ ULONGLONG ullSectorSize, _In_ const GUID *pPartitionType)
#define IDS_CREATE_PARTITION_INVALID_STYLE
#define IDS_CREATE_PARTITION_FAIL
#define IDS_ERROR_INVALID_ARGS
#define IDS_SELECT_NO_DISK
#define IDS_CREATE_PARTITION_SUCCESS
BOOL HasPrefix(_In_ PWSTR pszString, _In_ PWSTR pszPrefix, _Out_opt_ PWSTR *pszSuffix)
VOID UpdateGptDiskLayout(_In_ PDISKENTRY DiskEntry, _In_ BOOL DeleteEntry)
NTSTATUS WriteGptPartitions(_In_ PDISKENTRY DiskEntry)
#define NT_SUCCESS(StatCode)
_ACRTIMP unsigned __int64 __cdecl _wcstoui64(const wchar_t *, wchar_t **, int)
_ACRTIMP int __cdecl _wcsicmp(const wchar_t *, const wchar_t *)
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
static PPARTENTRY CurrentPartition