| 261 | } |
| 262 | |
| 263 | BOOL Ext2DefineDosDeviceLocal(DWORD flags, CHAR *dos, CHAR *symlink) |
| 264 | { |
| 265 | CHAR dosPath[] = "A:\0"; |
| 266 | BOOL rc; |
| 267 | |
| 268 | dosPath[0] = (CHAR)toupper(dos[0]); |
| 269 | rc = DefineDosDevice(flags, dosPath, symlink); |
| 270 | if (rc) { |
| 271 | if (flags & DDD_REMOVE_DEFINITION) { |
| 272 | Ext2DrvNotify(dosPath[0], FALSE); |
| 273 | } else { |
| 274 | Ext2DrvNotify(dosPath[0], TRUE); |
| 275 | } |
| 276 | } |
| 277 | |
| 278 | return rc; |
| 279 | } |
| 280 | |
| 281 | BOOL Ext2DefineDosDevice(DWORD flags, CHAR *dos, CHAR *symlink) |
| 282 | { |
no test coverage detected