#include "inflib.h"
#include "infhost.h"
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ RtlIsTextUnicode()
Definition at line 51 of file infhostrtl.c.
52{
53 static const WCHAR std_control_chars[] = {
'\r',
'\n',
'\t',
' ',0x3000,0};
54 static const WCHAR byterev_control_chars[] = {0x0d00,0x0a00,0x0900,0x2000,0};
58
60 {
61
62 if (pf) *pf = 0;
64 }
65 if (pf)
67
68
69
70
71
72
73
74
76
77 if (((
char *)
buf)[
len - 1] == 0)
79
81
83
84
87
88
90 {
91 int stats = 0;
92
94 {
95 if (
s[
i] <= 255) stats++;
96 }
99 }
100
101
103 {
105 {
106 if (!(
s[
i] & 0xff) || !(
s[
i] >> 8))
107 {
109 break;
110 }
111 }
112 }
113
115 {
117 {
119 {
121 break;
122 }
123 }
124 }
125
127 {
129 {
130 if (
strchrW(byterev_control_chars,
s[
i]))
131 {
133 break;
134 }
135 }
136 }
137
138 if (pf)
139 {
140 out_flags &= (
unsigned int)*pf;
141 *pf = (
INT)out_flags;
142 }
143
145
147
149
151}
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLenum GLuint GLenum GLsizei const GLchar * buf
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
#define IS_TEXT_UNICODE_UNICODE_MASK
#define IS_TEXT_UNICODE_NOT_ASCII_MASK
#define IS_TEXT_UNICODE_NULL_BYTES
#define IS_TEXT_UNICODE_REVERSE_CONTROLS
#define IS_TEXT_UNICODE_REVERSE_MASK
#define IS_TEXT_UNICODE_CONTROLS
#define IS_TEXT_UNICODE_ODD_LENGTH
#define IS_TEXT_UNICODE_REVERSE_SIGNATURE
#define IS_TEXT_UNICODE_NOT_UNICODE_MASK
#define IS_TEXT_UNICODE_STATISTICS
#define IS_TEXT_UNICODE_SIGNATURE
◆ RtlMultiByteToUnicodeN()
Definition at line 18 of file infhostrtl.c.
24{
28
29
30 if (MbSize > (UnicodeSize /
sizeof(
WCHAR)))
32 else
34
35 if (ResultSize !=
NULL)
37
40 {
41 WideString[2 *
i + 0] = (
UCHAR)MbString[
i];
42 WideString[2 *
i + 1] = 0;
43 }
44
46}
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size