mirror of
https://github.com/reactos/reactos.git
synced 2025-05-04 18:31:40 +00:00
[FREELDR:INF] Change immutable input string pointers to PCSTR when it's possible.
This commit is contained in:
parent
e51c305f51
commit
eeb4cbcb6b
2 changed files with 13 additions and 13 deletions
|
@ -225,7 +225,7 @@ static
|
|||
PINFCACHESECTION
|
||||
InfpCacheAddSection(
|
||||
PINFCACHE Cache,
|
||||
PCHAR Name)
|
||||
PCSTR Name)
|
||||
{
|
||||
PINFCACHESECTION Section = NULL;
|
||||
SIZE_T Size;
|
||||
|
@ -308,7 +308,7 @@ static
|
|||
PVOID
|
||||
InfpAddKeyToLine(
|
||||
PINFCACHELINE Line,
|
||||
PCHAR Key)
|
||||
PCSTR Key)
|
||||
{
|
||||
if (Line == NULL)
|
||||
return NULL;
|
||||
|
@ -330,7 +330,7 @@ static
|
|||
PVOID
|
||||
InfpAddFieldToLine(
|
||||
PINFCACHELINE Line,
|
||||
PCHAR Data)
|
||||
PCSTR Data)
|
||||
{
|
||||
PINFCACHEFIELD Field;
|
||||
SIZE_T Size;
|
||||
|
@ -1134,7 +1134,7 @@ InfFindNextLine (
|
|||
BOOLEAN
|
||||
InfFindFirstMatchLine (
|
||||
PINFCONTEXT ContextIn,
|
||||
PCHAR Key,
|
||||
PCSTR Key,
|
||||
PINFCONTEXT ContextOut)
|
||||
{
|
||||
PINFCACHELINE CacheLine;
|
||||
|
@ -1171,7 +1171,7 @@ InfFindFirstMatchLine (
|
|||
BOOLEAN
|
||||
InfFindNextMatchLine (
|
||||
PINFCONTEXT ContextIn,
|
||||
PCHAR Key,
|
||||
PCSTR Key,
|
||||
PINFCONTEXT ContextOut)
|
||||
{
|
||||
PINFCACHELINE CacheLine;
|
||||
|
@ -1208,7 +1208,7 @@ InfFindNextMatchLine (
|
|||
LONG
|
||||
InfGetLineCount(
|
||||
HINF InfHandle,
|
||||
PCHAR Section)
|
||||
PCSTR Section)
|
||||
{
|
||||
PINFCACHE Cache;
|
||||
PINFCACHESECTION CacheSection;
|
||||
|
@ -1490,8 +1490,8 @@ InfGetStringField (
|
|||
BOOLEAN
|
||||
InfGetData (
|
||||
PINFCONTEXT Context,
|
||||
PCHAR *Key,
|
||||
PCHAR *Data)
|
||||
PCSTR *Key,
|
||||
PCSTR *Data)
|
||||
{
|
||||
PINFCACHELINE CacheKey;
|
||||
|
||||
|
|
|
@ -49,18 +49,18 @@ InfFindNextLine (PINFCONTEXT ContextIn,
|
|||
|
||||
BOOLEAN
|
||||
InfFindFirstMatchLine (PINFCONTEXT ContextIn,
|
||||
PCHAR Key,
|
||||
PCSTR Key,
|
||||
PINFCONTEXT ContextOut);
|
||||
|
||||
BOOLEAN
|
||||
InfFindNextMatchLine (PINFCONTEXT ContextIn,
|
||||
PCHAR Key,
|
||||
PCSTR Key,
|
||||
PINFCONTEXT ContextOut);
|
||||
|
||||
|
||||
LONG
|
||||
InfGetLineCount (HINF InfHandle,
|
||||
PCHAR Section);
|
||||
PCSTR Section);
|
||||
|
||||
LONG
|
||||
InfGetFieldCount (PINFCONTEXT Context);
|
||||
|
@ -96,8 +96,8 @@ InfGetStringField (PINFCONTEXT Context,
|
|||
|
||||
BOOLEAN
|
||||
InfGetData (PINFCONTEXT Context,
|
||||
PCHAR *Key,
|
||||
PCHAR *Data);
|
||||
PCSTR *Key,
|
||||
PCSTR *Data);
|
||||
|
||||
BOOLEAN
|
||||
InfGetDataField (PINFCONTEXT Context,
|
||||
|
|
Loading…
Reference in a new issue