@@ -4036,247 +4036,247 @@ typedef struct _PH_FORMAT
4036
4036
FORCEINLINE
4037
4037
VOID
4038
4038
PhInitFormatC (
4039
- _Out_ PPH_FORMAT f ,
4040
- _In_ WCHAR v
4039
+ _Out_ PPH_FORMAT Format ,
4040
+ _In_ WCHAR Char
4041
4041
)
4042
4042
{
4043
- f -> Type = CharFormatType ;
4044
- f -> u .Char = v ;
4043
+ Format -> Type = CharFormatType ;
4044
+ Format -> u .Char = Char ;
4045
4045
}
4046
4046
4047
4047
FORCEINLINE
4048
4048
VOID
4049
4049
PhInitFormatS (
4050
- _Out_ PPH_FORMAT f ,
4051
- _In_ PWSTR v
4050
+ _Out_ PPH_FORMAT Format ,
4051
+ _In_ PWSTR String
4052
4052
)
4053
4053
{
4054
- f -> Type = StringFormatType ;
4055
- PhInitializeStringRef (& f -> u .String , v );
4054
+ Format -> Type = StringFormatType ;
4055
+ PhInitializeStringRef (& Format -> u .String , String );
4056
4056
}
4057
4057
4058
4058
FORCEINLINE
4059
4059
VOID
4060
4060
PhInitFormatSR (
4061
- _Out_ PPH_FORMAT f ,
4062
- _In_ PH_STRINGREF v
4061
+ _Out_ PPH_FORMAT Format ,
4062
+ _In_ PH_STRINGREF String
4063
4063
)
4064
4064
{
4065
- f -> Type = StringFormatType ;
4066
- f -> u .String = v ;
4065
+ Format -> Type = StringFormatType ;
4066
+ Format -> u .String = String ;
4067
4067
}
4068
4068
4069
4069
FORCEINLINE
4070
4070
VOID
4071
4071
PhInitFormatUCS (
4072
- _Out_ PPH_FORMAT f ,
4073
- _In_ PUNICODE_STRING v
4072
+ _Out_ PPH_FORMAT Format ,
4073
+ _In_ PUNICODE_STRING String
4074
4074
)
4075
4075
{
4076
- f -> Type = StringFormatType ;
4077
- PhUnicodeStringToStringRef (v , & f -> u .String );
4076
+ Format -> Type = StringFormatType ;
4077
+ PhUnicodeStringToStringRef (String , & Format -> u .String );
4078
4078
}
4079
4079
4080
4080
FORCEINLINE
4081
4081
VOID
4082
4082
PhInitFormatMultiByteS (
4083
- _Out_ PPH_FORMAT f ,
4084
- _In_ PSTR v
4083
+ _Out_ PPH_FORMAT Format ,
4084
+ _In_ PSTR String
4085
4085
)
4086
4086
{
4087
- f -> Type = MultiByteStringFormatType ;
4088
- PhInitializeBytesRef (& f -> u .MultiByteString , v );
4087
+ Format -> Type = MultiByteStringFormatType ;
4088
+ PhInitializeBytesRef (& Format -> u .MultiByteString , String );
4089
4089
}
4090
4090
4091
4091
FORCEINLINE
4092
4092
VOID
4093
4093
PhInitFormatD (
4094
- _Out_ PPH_FORMAT f ,
4095
- _In_ LONG v
4094
+ _Out_ PPH_FORMAT Format ,
4095
+ _In_ LONG Int32
4096
4096
)
4097
4097
{
4098
- f -> Type = Int32FormatType ;
4099
- f -> u .Int32 = v ;
4098
+ Format -> Type = Int32FormatType ;
4099
+ Format -> u .Int32 = Int32 ;
4100
4100
}
4101
4101
4102
4102
FORCEINLINE
4103
4103
VOID
4104
4104
PhInitFormatU (
4105
- _Out_ PPH_FORMAT f ,
4106
- _In_ ULONG v
4105
+ _Out_ PPH_FORMAT Format ,
4106
+ _In_ ULONG UInt32
4107
4107
)
4108
4108
{
4109
- f -> Type = UInt32FormatType ;
4110
- f -> u .UInt32 = v ;
4109
+ Format -> Type = UInt32FormatType ;
4110
+ Format -> u .UInt32 = UInt32 ;
4111
4111
}
4112
4112
4113
4113
FORCEINLINE
4114
4114
VOID
4115
4115
PhInitFormatX (
4116
- _Out_ PPH_FORMAT f ,
4117
- _In_ ULONG v
4116
+ _Out_ PPH_FORMAT Format ,
4117
+ _In_ ULONG UInt32
4118
4118
)
4119
4119
{
4120
- f -> Type = (PH_FORMAT_TYPE )(UInt32FormatType | FormatUseRadix );
4121
- f -> u .UInt32 = v ;
4122
- f -> Radix = 16 ;
4120
+ Format -> Type = (PH_FORMAT_TYPE )(UInt32FormatType | FormatUseRadix );
4121
+ Format -> u .UInt32 = UInt32 ;
4122
+ Format -> Radix = 16 ;
4123
4123
}
4124
4124
4125
4125
FORCEINLINE
4126
4126
VOID
4127
4127
PhInitFormatI64D (
4128
- _Out_ PPH_FORMAT f ,
4129
- _In_ LONG64 v
4128
+ _Out_ PPH_FORMAT Format ,
4129
+ _In_ LONG64 Int64
4130
4130
)
4131
4131
{
4132
- f -> Type = Int64FormatType ;
4133
- f -> u .Int64 = v ;
4132
+ Format -> Type = Int64FormatType ;
4133
+ Format -> u .Int64 = Int64 ;
4134
4134
}
4135
4135
4136
4136
FORCEINLINE
4137
4137
VOID
4138
4138
PhInitFormatI64U (
4139
- _Out_ PPH_FORMAT f ,
4140
- _In_ ULONG64 v
4139
+ _Out_ PPH_FORMAT Format ,
4140
+ _In_ ULONG64 UInt64
4141
4141
)
4142
4142
{
4143
- f -> Type = UInt64FormatType ;
4144
- f -> u .UInt64 = v ;
4143
+ Format -> Type = UInt64FormatType ;
4144
+ Format -> u .UInt64 = UInt64 ;
4145
4145
}
4146
4146
4147
4147
FORCEINLINE
4148
4148
VOID
4149
4149
PhInitFormatI64UGroupDigits (
4150
- _Out_ PPH_FORMAT f ,
4151
- _In_ ULONG64 v
4150
+ _Out_ PPH_FORMAT Format ,
4151
+ _In_ ULONG64 UInt64
4152
4152
)
4153
4153
{
4154
- f -> Type = (PH_FORMAT_TYPE )(UInt64FormatType | FormatGroupDigits );
4155
- f -> u .UInt64 = v ;
4154
+ Format -> Type = (PH_FORMAT_TYPE )(UInt64FormatType | FormatGroupDigits );
4155
+ Format -> u .UInt64 = UInt64 ;
4156
4156
}
4157
4157
4158
4158
FORCEINLINE
4159
4159
VOID
4160
4160
PhInitFormatI64UWithWidth (
4161
- _Out_ PPH_FORMAT f ,
4162
- _In_ ULONG64 v ,
4163
- _In_ USHORT w
4161
+ _Out_ PPH_FORMAT Format ,
4162
+ _In_ ULONG64 UInt64 ,
4163
+ _In_ USHORT Width
4164
4164
)
4165
4165
{
4166
- f -> Type = (PH_FORMAT_TYPE )(UInt64FormatType | FormatPadZeros );
4167
- f -> u .UInt64 = v ;
4168
- f -> Width = w ;
4166
+ Format -> Type = (PH_FORMAT_TYPE )(UInt64FormatType | FormatPadZeros );
4167
+ Format -> u .UInt64 = UInt64 ;
4168
+ Format -> Width = Width ;
4169
4169
}
4170
4170
4171
4171
FORCEINLINE
4172
4172
VOID
4173
4173
PhInitFormatI64X (
4174
- _Out_ PPH_FORMAT f ,
4175
- _In_ ULONG64 v
4174
+ _Out_ PPH_FORMAT Format ,
4175
+ _In_ ULONG64 UInt64
4176
4176
)
4177
4177
{
4178
- f -> Type = (PH_FORMAT_TYPE )(UInt64FormatType | FormatUseRadix );
4179
- f -> u .UInt64 = v ;
4180
- f -> Radix = 16 ;
4178
+ Format -> Type = (PH_FORMAT_TYPE )(UInt64FormatType | FormatUseRadix );
4179
+ Format -> u .UInt64 = UInt64 ;
4180
+ Format -> Radix = 16 ;
4181
4181
}
4182
4182
4183
4183
FORCEINLINE
4184
4184
VOID
4185
4185
PhInitFormatIU (
4186
- _Out_ PPH_FORMAT f ,
4187
- _In_ ULONG_PTR v
4186
+ _Out_ PPH_FORMAT Format ,
4187
+ _In_ ULONG_PTR UIntPtr
4188
4188
)
4189
4189
{
4190
- f -> Type = UIntPtrFormatType ;
4191
- f -> u .UIntPtr = v ;
4190
+ Format -> Type = UIntPtrFormatType ;
4191
+ Format -> u .UIntPtr = UIntPtr ;
4192
4192
}
4193
4193
4194
4194
FORCEINLINE
4195
4195
VOID
4196
4196
PhInitFormatIX (
4197
- _Out_ PPH_FORMAT f ,
4198
- _In_ ULONG_PTR v
4197
+ _Out_ PPH_FORMAT Format ,
4198
+ _In_ ULONG_PTR UIntPtr
4199
4199
)
4200
4200
{
4201
- f -> Type = (PH_FORMAT_TYPE )(UIntPtrFormatType | FormatUseRadix );
4202
- f -> u .UIntPtr = v ;
4203
- f -> Radix = 16 ;
4201
+ Format -> Type = (PH_FORMAT_TYPE )(UIntPtrFormatType | FormatUseRadix );
4202
+ Format -> u .UIntPtr = UIntPtr ;
4203
+ Format -> Radix = 16 ;
4204
4204
}
4205
4205
4206
4206
FORCEINLINE
4207
4207
VOID
4208
4208
PhInitFormatIXPadZeros (
4209
- _Out_ PPH_FORMAT f ,
4210
- _In_ ULONG_PTR v
4209
+ _Out_ PPH_FORMAT Format ,
4210
+ _In_ ULONG_PTR UIntPtr
4211
4211
)
4212
4212
{
4213
- f -> Type = (PH_FORMAT_TYPE )(UIntPtrFormatType | FormatUseRadix | FormatPadZeros );
4214
- f -> u .UIntPtr = v ;
4215
- f -> Radix = 16 ;
4216
- f -> Width = sizeof (ULONG_PTR ) * 2 ;
4213
+ Format -> Type = (PH_FORMAT_TYPE )(UIntPtrFormatType | FormatUseRadix | FormatPadZeros );
4214
+ Format -> u .UIntPtr = UIntPtr ;
4215
+ Format -> Radix = 16 ;
4216
+ Format -> Width = sizeof (ULONG_PTR ) * 2 ;
4217
4217
}
4218
4218
4219
4219
FORCEINLINE
4220
4220
VOID
4221
4221
PhInitFormatF (
4222
- _Out_ PPH_FORMAT f ,
4223
- _In_ DOUBLE v ,
4224
- _In_ USHORT p
4222
+ _Out_ PPH_FORMAT Format ,
4223
+ _In_ DOUBLE Double ,
4224
+ _In_ USHORT Precision
4225
4225
)
4226
4226
{
4227
- f -> Type = (PH_FORMAT_TYPE )(DoubleFormatType | FormatUsePrecision );
4228
- f -> u .Double = v ;
4229
- f -> Precision = p ;
4227
+ Format -> Type = (PH_FORMAT_TYPE )(DoubleFormatType | FormatUsePrecision );
4228
+ Format -> u .Double = Double ;
4229
+ Format -> Precision = Precision ;
4230
4230
}
4231
4231
4232
4232
FORCEINLINE
4233
4233
VOID
4234
4234
PhInitFormatE (
4235
- _Out_ PPH_FORMAT f ,
4236
- _In_ DOUBLE v ,
4237
- _In_ USHORT p
4235
+ _Out_ PPH_FORMAT Format ,
4236
+ _In_ DOUBLE Double ,
4237
+ _In_ USHORT Precision
4238
4238
)
4239
4239
{
4240
- f -> Type = (PH_FORMAT_TYPE )(DoubleFormatType | FormatStandardForm | FormatUsePrecision );
4241
- f -> u .Double = v ;
4242
- f -> Precision = p ;
4240
+ Format -> Type = (PH_FORMAT_TYPE )(DoubleFormatType | FormatStandardForm | FormatUsePrecision );
4241
+ Format -> u .Double = Double ;
4242
+ Format -> Precision = Precision ;
4243
4243
}
4244
4244
4245
4245
FORCEINLINE
4246
4246
VOID
4247
4247
PhInitFormatA (
4248
- _Out_ PPH_FORMAT f ,
4249
- _In_ DOUBLE v ,
4250
- _In_ USHORT p
4248
+ _Out_ PPH_FORMAT Format ,
4249
+ _In_ DOUBLE Double ,
4250
+ _In_ USHORT Precision
4251
4251
)
4252
4252
{
4253
- f -> Type = (PH_FORMAT_TYPE )(DoubleFormatType | FormatHexadecimalForm | FormatUsePrecision );
4254
- f -> u .Double = v ;
4255
- f -> Precision = p ;
4253
+ Format -> Type = (PH_FORMAT_TYPE )(DoubleFormatType | FormatHexadecimalForm | FormatUsePrecision );
4254
+ Format -> u .Double = Double ;
4255
+ Format -> Precision = Precision ;
4256
4256
}
4257
4257
4258
4258
FORCEINLINE
4259
4259
VOID
4260
4260
PhInitFormatSize (
4261
- _Out_ PPH_FORMAT f ,
4262
- _In_ ULONG64 v
4261
+ _Out_ PPH_FORMAT Format ,
4262
+ _In_ ULONG64 Size
4263
4263
)
4264
4264
{
4265
- f -> Type = SizeFormatType ;
4266
- f -> u .Size = v ;
4265
+ Format -> Type = SizeFormatType ;
4266
+ Format -> u .Size = Size ;
4267
4267
}
4268
4268
4269
4269
FORCEINLINE
4270
4270
VOID
4271
4271
PhInitFormatSizeWithPrecision (
4272
- _Out_ PPH_FORMAT f ,
4273
- _In_ ULONG64 v ,
4274
- _In_ USHORT p
4272
+ _Out_ PPH_FORMAT Format ,
4273
+ _In_ ULONG64 Size ,
4274
+ _In_ USHORT Precision
4275
4275
)
4276
4276
{
4277
- f -> Type = (PH_FORMAT_TYPE )(SizeFormatType | FormatUsePrecision );
4278
- f -> u .Size = v ;
4279
- f -> Precision = p ;
4277
+ Format -> Type = (PH_FORMAT_TYPE )(SizeFormatType | FormatUsePrecision );
4278
+ Format -> u .Size = Size ;
4279
+ Format -> Precision = Precision ;
4280
4280
}
4281
4281
4282
4282
PHLIBAPI
0 commit comments