#include "diskpart.h"
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ remove_main()
Definition at line 15 of file remove.c.
18{
21 INT i, nExclusive = 0;
23
25
27 {
30 }
31
33 {
36 }
37
39 {
41 {
42
44#if 0
46#endif
47 }
48 }
49
51 {
53 {
54 if (
wcslen(pszSuffix) == 1)
55 {
57 nExclusive++;
58 }
59 else
60 {
63 }
64 }
66 {
67 DPRINT(
"Mount\n", pszSuffix);
69 nExclusive++;
70 }
72 {
74 nExclusive++;
75 }
77 {
79 }
81 {
82
83 }
84 else
85 {
88 }
89 }
90
91 if (nExclusive > 1)
92 {
95 }
96
100
102 {
103 DPRINT1(
"DriveLetter: %C\n", DriveLetter);
104
105 if ((DriveLetter <
L'C') || (DriveLetter >
L'Z'))
106 {
109 }
110
112 {
115 }
116 }
117 else
118 {
120 }
121
123 if (bResult ==
FALSE)
124 {
127 }
128
131
133}
void ConPuts(FILE *fp, LPCWSTR psz)
void ConResPuts(FILE *fp, UINT nID)
#define IDS_REMOVE_NO_LETTER
#define IDS_SELECT_NO_VOLUME
#define IDS_ASSIGN_INVALID_LETTER
#define IDS_ERROR_INVALID_ARGS
#define IDS_REMOVE_SUCCESS
#define IDS_REMOVE_WRONG_LETTER
BOOL HasPrefix(_In_ PWSTR pszString, _In_ PWSTR pszPrefix, _Out_opt_ PWSTR *pszSuffix)
BOOL DeleteDriveLetter(_In_ WCHAR DriveLetter)
_ACRTIMP int __cdecl _wcsicmp(const wchar_t *, const wchar_t *)
_ACRTIMP size_t __cdecl wcslen(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
WCHAR VolumeName[MAX_PATH]
WCHAR DeviceName[MAX_PATH]