Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

84 lines
1.4 KiB

DWORD
DevfileOpen(
OUT HANDLE *Handle,
IN wchar_t *Pathname
);
VOID
DevfileClose(
IN HANDLE Handle
);
DWORD
DevfileIoctl(
HANDLE Handle,
DWORD Ioctl,
PVOID Inbuf,
ULONG Inbufsize,
PVOID OutBuf,
DWORD OutBufSize,
LPDWORD ReturnedBufsize
);
DWORD
DisksAssignDosDevice(
PCHAR MountName,
PWCHAR VolumeDevName
);
DWORD
DisksRemoveDosDevice(
PCHAR MountName
);
DWORD
FindFirstVolumeForSignature(
IN HANDLE MountMgrHandle,
IN DWORD Signature,
OUT LPSTR VolumeName,
IN DWORD BufferLength,
OUT LPHANDLE Handle,
OUT PVOID UniqueId OPTIONAL,
IN OUT LPDWORD IdLength,
OUT PUCHAR DriveLetter OPTIONAL
);
DWORD
FindNextVolumeForSignature(
IN HANDLE MountMgrHandle,
IN DWORD Signature,
IN HANDLE Handle,
OUT LPSTR VolumeName,
IN DWORD BufferLength,
OUT PVOID UniqueId OPTIONAL,
IN OUT LPDWORD IdLength,
OUT PUCHAR DriveLetter OPTIONAL
);
DWORD
DisksSetDiskInfo(
IN HKEY RegistryKey,
IN DWORD Signature
);
DWORD
DisksSetMountMgr(
IN HKEY RegistryKey,
IN DWORD Signature
);
BOOL
DisksDoesDiskInfoMatch(
IN HKEY RegistryKey,
IN DWORD Signature
);
BOOL
DisksIsDiskInfoValid(
IN HKEY RegistryKey,
IN DWORD Signature
);