37 if (hDevice == ((
HANDLE)-1)) {
53 strcpy(VendorId,
"Unknown Vendor");
78 DvdRW || DvdpRW || DvdRAM) {
118 strcpy(VendorId,
"Unknown Vendor");
143 bool add_drive =
false;
154 if (*(
token-1) ==
',') {
186 if (drive_type !=
OTHER) {
208 Drive[0] = _Drive[0] & ~(
'a' ^
'A');
char * strcat(char *DstString, const char *SrcString)
int strcmp(const char *String1, const char *String2)
ACPI_SIZE strlen(const char *String)
char * strcpy(char *DstString, const char *SrcString)
char * strncpy(char *DstString, const char *SrcString, ACPI_SIZE Count)
char * strtok(char *String, const char *Delimiters)
#define DevCap_write_cd_rw
#define DevCap_write_dvd_ram
#define PFNUM_DVDRW_RESTRICTED_OVERWRITE
#define DevCap_write_cd_r
#define DevCap_write_dvd_r
#define CDRW_FEATURE_CHANGER
#define CDRW_FEATURE_GET_CFG
struct _GET_DEVICE_INFO_USER_OUT * PGET_DEVICE_INFO_USER_OUT
#define IOCTL_CDRW_GET_SIGNATURE
#define IOCTL_CDRW_GET_DEVICE_INFO
#define IOCTL_CDRW_GET_CAPABILITIES
static const WCHAR szDeviceName[]
#define INVALID_HANDLE_VALUE
NTSTATUS NTAPI UDFPhSendIOCTL(IN ULONG IoControlCode, IN PDEVICE_OBJECT DeviceObject, IN PVOID InputBuffer, IN ULONG InputBufferLength, OUT PVOID OutputBuffer, IN ULONG OutputBufferLength, IN BOOLEAN OverrideVerify, OUT PIO_STATUS_BLOCK Iosb OPTIONAL)
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 token
#define ERROR_ALREADY_EXISTS
#define sprintf(buf, format,...)
_CRTIMP char *__cdecl strupr(_Inout_z_ char *_Str)
HANDLE CreatePublicEvent(PWCHAR EventName)
TCHAR * MediaTypeStrings[]
HANDLE OpenOurVolume(PCHAR szDeviceName)
enum _JS_DEVICE_TYPE JS_DEVICE_TYPE
CD/DVD-RW device types.
DWORD WINAPI GetLastError(void)
#define GetLogicalDriveStrings
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level