Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Leonid Pospelov
wine
Commits
ea2b6df7
Commit
ea2b6df7
authored
22 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
Avoid some warnings.
parent
9a1c52e6
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/ntdll/tests/rtlstr.c
+27
-29
27 additions, 29 deletions
dlls/ntdll/tests/rtlstr.c
with
27 additions
and
29 deletions
dlls/ntdll/tests/rtlstr.c
+
27
−
29
View file @
ea2b6df7
...
...
@@ -33,41 +33,39 @@ static STRING str;
static
HMODULE
hntdll
=
0
;
static
VOID
(
WINAPI
*
pRtlInitAnsiString
)(
PSTRING
,
LPCSTR
);
static
VOID
(
WINAPI
*
pRtlInitString
)(
PSTRING
,
LPCSTR
);
static
VOID
(
WINAPI
*
pRtlFreeAnsiString
)(
PSTRING
);
static
VOID
(
WINAPI
*
pRtlFreeOemString
)(
PSTRING
);
/*
static VOID (WINAPI *pRtlFreeAnsiString)(PSTRING);
*/
/*
static VOID (WINAPI *pRtlFreeOemString)(PSTRING);
*/
static
VOID
(
WINAPI
*
pRtlCopyString
)(
STRING
*
,
const
STRING
*
);
static
VOID
(
WINAPI
*
pRtlInitUnicodeString
)(
PUNICODE_STRING
,
LPCWSTR
);
static
BOOLEAN
(
WINAPI
*
pRtlCreateUnicodeString
)(
PUNICODE_STRING
,
LPCWSTR
);
static
BOOLEAN
(
WINAPI
*
pRtlCreateUnicodeStringFromAsciiz
)(
PUNICODE_STRING
,
LPCSTR
);
static
VOID
(
WINAPI
*
pRtlFreeUnicodeString
)(
PUNICODE_STRING
);
static
VOID
(
WINAPI
*
pRtlCopyUnicodeString
)(
UNICODE_STRING
*
,
const
UNICODE_STRING
*
);
static
VOID
(
WINAPI
*
pRtlEraseUnicodeString
)(
UNICODE_STRING
*
);
static
LONG
(
WINAPI
*
pRtlCompareString
)(
const
STRING
*
,
const
STRING
*
,
BOOLEAN
);
static
LONG
(
WINAPI
*
pRtlCompareUnicodeString
)(
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
static
BOOLEAN
(
WINAPI
*
pRtlEqualString
)(
const
STRING
*
,
const
STRING
*
,
BOOLEAN
);
static
BOOLEAN
(
WINAPI
*
pRtlEqualUnicodeString
)(
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
static
BOOLEAN
(
WINAPI
*
pRtlPrefixString
)(
const
STRING
*
,
const
STRING
*
,
BOOLEAN
);
static
BOOLEAN
(
WINAPI
*
pRtlPrefixUnicodeString
)(
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
static
NTSTATUS
(
WINAPI
*
pRtlAnsiStringToUnicodeString
)(
PUNICODE_STRING
,
PCANSI_STRING
,
BOOLEAN
);
static
NTSTATUS
(
WINAPI
*
pRtlOemStringToUnicodeString
)(
PUNICODE_STRING
,
const
STRING
*
,
BOOLEAN
);
static
NTSTATUS
(
WINAPI
*
pRtlUnicodeStringToAnsiString
)(
STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
static
NTSTATUS
(
WINAPI
*
pRtlUnicodeStringToOemString
)(
STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
static
NTSTATUS
(
WINAPI
*
pRtlMultiByteToUnicodeN
)(
LPWSTR
,
DWORD
,
LPDWORD
,
LPCSTR
,
DWORD
);
static
NTSTATUS
(
WINAPI
*
pRtlOemToUnicodeN
)(
LPWSTR
,
DWORD
,
LPDWORD
,
LPCSTR
,
DWORD
);
static
NTSTATUS
(
WINAPI
*
pRtlUpperString
)(
STRING
*
,
const
STRING
*
);
static
NTSTATUS
(
WINAPI
*
pRtlUpcaseUnicodeString
)(
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
static
NTSTATUS
(
WINAPI
*
pRtlUpcaseUnicodeStringToAnsiString
)(
STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
static
NTSTATUS
(
WINAPI
*
pRtlUpcaseUnicodeStringToOemString
)(
STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
static
NTSTATUS
(
WINAPI
*
pRtlUpcaseUnicodeToMultiByteN
)(
LPSTR
,
DWORD
,
LPDWORD
,
LPCWSTR
,
DWORD
);
static
NTSTATUS
(
WINAPI
*
pRtlUpcaseUnicodeToOemN
)(
LPSTR
,
DWORD
,
LPDWORD
,
LPCWSTR
,
DWORD
);
static
UINT
(
WINAPI
*
pRtlOemToUnicodeSize
)(
const
STRING
*
);
static
DWORD
(
WINAPI
*
pRtlAnsiStringToUnicodeSize
)(
const
STRING
*
);
static
NTSTATUS
(
WINAPI
*
pRtlOemToUnicodeN
)(
LPWSTR
,
DWORD
,
LPDWORD
,
LPCSTR
,
DWORD
);
static
NTSTATUS
(
WINAPI
*
pRtlOemToUnicodeN
)(
LPWSTR
,
DWORD
,
LPDWORD
,
LPCSTR
,
DWORD
);
/*static BOOLEAN (WINAPI *pRtlCreateUnicodeStringFromAsciiz)(PUNICODE_STRING,LPCSTR);*/
/*static VOID (WINAPI *pRtlFreeUnicodeString)(PUNICODE_STRING);*/
/*static VOID (WINAPI *pRtlCopyUnicodeString)(UNICODE_STRING *, const UNICODE_STRING *);*/
/*static VOID (WINAPI *pRtlEraseUnicodeString)(UNICODE_STRING *);*/
/*static LONG (WINAPI *pRtlCompareString)(const STRING *,const STRING *,BOOLEAN);*/
/*static LONG (WINAPI *pRtlCompareUnicodeString)(const UNICODE_STRING *,const UNICODE_STRING *,BOOLEAN);*/
/*static BOOLEAN (WINAPI *pRtlEqualString)(const STRING *,const STRING *,BOOLEAN);*/
/*static BOOLEAN (WINAPI *pRtlEqualUnicodeString)(const UNICODE_STRING *,const UNICODE_STRING *,BOOLEAN);*/
/*static BOOLEAN (WINAPI *pRtlPrefixString)(const STRING *, const STRING *, BOOLEAN);*/
/*static BOOLEAN (WINAPI *pRtlPrefixUnicodeString)(const UNICODE_STRING *, const UNICODE_STRING *, BOOLEAN);*/
/*static NTSTATUS (WINAPI *pRtlAnsiStringToUnicodeString)(PUNICODE_STRING, PCANSI_STRING, BOOLEAN);*/
/*static NTSTATUS (WINAPI *pRtlOemStringToUnicodeString)(PUNICODE_STRING, const STRING *, BOOLEAN);*/
/*static NTSTATUS (WINAPI *pRtlUnicodeStringToAnsiString)(STRING *, const UNICODE_STRING *, BOOLEAN);*/
/*static NTSTATUS (WINAPI *pRtlUnicodeStringToOemString)(STRING *, const UNICODE_STRING *, BOOLEAN);*/
/*static NTSTATUS (WINAPI *pRtlMultiByteToUnicodeN)(LPWSTR, DWORD, LPDWORD, LPCSTR, DWORD);*/
/*static NTSTATUS (WINAPI *pRtlOemToUnicodeN)(LPWSTR, DWORD, LPDWORD, LPCSTR, DWORD);*/
/*static NTSTATUS (WINAPI *pRtlUpperString)(STRING *, const STRING *);*/
/*static NTSTATUS (WINAPI *pRtlUpcaseUnicodeString)(UNICODE_STRING *, const UNICODE_STRING *, BOOLEAN);*/
/*static NTSTATUS (WINAPI *pRtlUpcaseUnicodeStringToAnsiString)(STRING *, const UNICODE_STRING *, BOOLEAN);*/
/*static NTSTATUS (WINAPI *pRtlUpcaseUnicodeStringToOemString)(STRING *, const UNICODE_STRING *, BOOLEAN);*/
/*static NTSTATUS (WINAPI *pRtlUpcaseUnicodeToMultiByteN)(LPSTR, DWORD, LPDWORD, LPCWSTR, DWORD);*/
/*static NTSTATUS (WINAPI *pRtlUpcaseUnicodeToOemN)(LPSTR, DWORD, LPDWORD, LPCWSTR, DWORD);*/
/*static UINT (WINAPI *pRtlOemToUnicodeSize)(const STRING *);*/
/*static DWORD (WINAPI *pRtlAnsiStringToUnicodeSize)(const STRING *);*/
/* more function pointers here */
static
DWORD
(
WINAPI
*
pRtlIsTextUnicode
)(
LPVOID
,
DWORD
,
DWORD
*
);
/*
static DWORD (WINAPI *pRtlIsTextUnicode)(LPVOID, DWORD, DWORD *);
*/
static
NTSTATUS
(
WINAPI
*
pRtlUnicodeStringToInteger
)(
const
UNICODE_STRING
*
,
int
,
int
*
);
static
void
InitFunctionPtrs
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment