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
Releases
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
Felix Münchhalfen
wine
Commits
296c5a6b
Commit
296c5a6b
authored
22 years ago
by
Patrik Stridvall
Committed by
Alexandre Julliard
22 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixed some issues found by winapi_check.
parent
3c85eb18
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dlls/kernel/tests/locale.c
+18
-15
18 additions, 15 deletions
dlls/kernel/tests/locale.c
dlls/setupapi/devinst.c
+21
-0
21 additions, 0 deletions
dlls/setupapi/devinst.c
scheduler/process.c
+0
-3
0 additions, 3 deletions
scheduler/process.c
with
39 additions
and
18 deletions
dlls/kernel/tests/locale.c
+
18
−
15
View file @
296c5a6b
...
...
@@ -27,21 +27,18 @@
#define eq(received, expected, label, type) \
ok((received) == (expected), "%s: got " type " instead of " type, (label),(received),(expected))
#define BUFFER_SIZE 50
/
/
Buffer used by callback function
/
*
Buffer used by callback function
*/
char
GlobalBuffer
[
BUFFER_SIZE
];
// TODO :
// Unicode versions
// EnumTimeFormatsA
// EnumDateFormatsA
// LCMapStringA
// GetUserDefaultLangID
// ...
/* TODO :
* Unicode versions
* EnumTimeFormatsA
* EnumDateFormatsA
* LCMapStringA
* GetUserDefaultLangID
* ...
*/
void
TestGetLocaleInfoA
()
{
...
...
@@ -194,7 +191,9 @@ char buffer[BUFFER_SIZE], Expected[BUFFER_SIZE], format[BUFFER_SIZE];
LCID
lcid
;
lcid
=
MAKELCID
(
MAKELANGID
(
LANG_ENGLISH
,
SUBLANG_ENGLISH_US
),
SORT_DEFAULT
);
// lcid = MAKELCID(MAKELANGID(LANG_FRENCH, SUBLANG_DEFAULT), SORT_DEFAULT );
#if 0
lcid = MAKELCID(MAKELANGID(LANG_FRENCH, SUBLANG_DEFAULT), SORT_DEFAULT );
#endif
memset
(
buffer
,
'x'
,
sizeof
(
buffer
)
/
sizeof
(
buffer
[
0
])
);
ret
=
GetCurrencyFormatA
(
lcid
,
0
,
"23,65"
,
NULL
,
buffer
,
sizeof
(
buffer
));
...
...
@@ -277,7 +276,9 @@ BOOL CALLBACK EnumTimeFormatsProc(char * lpTimeFormatString)
{
trace
(
"%s
\n
"
,
lpTimeFormatString
);
strcpy
(
GlobalBuffer
,
lpTimeFormatString
);
// return TRUE;
#if 0
return TRUE;
#endif
return
FALSE
;
}
...
...
@@ -336,7 +337,9 @@ char buffer1[BUFFER_SIZE], buffer2[BUFFER_SIZE];
START_TEST
(
locale
)
{
// TestEnumTimeFormats();
#if 0
TestEnumTimeFormats();
#endif
TestGetLocaleInfoA
();
TestGetTimeFormatA
();
TestGetDateFormatA
();
...
...
This diff is collapsed.
Click to expand it.
dlls/setupapi/devinst.c
+
21
−
0
View file @
296c5a6b
...
...
@@ -44,6 +44,9 @@ RETERR16 WINAPI DiGetClassDevs16(LPLPDEVICE_INFO16 lplpdi,
return
OK
;
}
/***********************************************************************
* SetupDiGetDeviceInterfaceDetailA (SETUPAPI.@)
*/
BOOL
WINAPI
SetupDiGetDeviceInterfaceDetailA
(
HDEVINFO
DeviceInfoSet
,
PSP_DEVICE_INTERFACE_DATA
DeviceInterfaceData
,
...
...
@@ -56,6 +59,9 @@ BOOL WINAPI SetupDiGetDeviceInterfaceDetailA(
return
FALSE
;
}
/***********************************************************************
* SetupDiGetDeviceInterfaceDetailW (SETUPAPI.@)
*/
BOOL
WINAPI
SetupDiGetDeviceInterfaceDetailW
(
HDEVINFO
DeviceInfoSet
,
PSP_DEVICE_INTERFACE_DATA
DeviceInterfaceData
,
...
...
@@ -68,6 +74,9 @@ BOOL WINAPI SetupDiGetDeviceInterfaceDetailW(
return
FALSE
;
}
/***********************************************************************
* SetupDiEnumDeviceInterfaces (SETUPAPI.@)
*/
BOOL
WINAPI
SetupDiEnumDeviceInterfaces
(
HDEVINFO
DeviceInfoSet
,
PSP_DEVINFO_DATA
DeviceInfoData
,
...
...
@@ -79,6 +88,9 @@ BOOL WINAPI SetupDiEnumDeviceInterfaces(
return
FALSE
;
}
/***********************************************************************
* SetupDiGetClassDevsA (SETUPAPI.@)
*/
HDEVINFO
WINAPI
SetupDiGetClassDevsA
(
CONST
GUID
*
class
,
LPCSTR
enumstr
,
...
...
@@ -90,6 +102,9 @@ HDEVINFO WINAPI SetupDiGetClassDevsA(
return
NULL
;
}
/***********************************************************************
* SetupDiEnumDeviceInfo (SETUPAPI.@)
*/
BOOL
WINAPI
SetupDiEnumDeviceInfo
(
HDEVINFO
devinfo
,
DWORD
index
,
...
...
@@ -105,12 +120,18 @@ BOOL WINAPI SetupDiEnumDeviceInfo(
return
FALSE
;
}
/***********************************************************************
* SetupDiDestroyDeviceInfoList (SETUPAPI.@)
*/
BOOL
WINAPI
SetupDiDestroyDeviceInfoList
(
HDEVINFO
devinfo
)
{
FIXME
(
"%04lx
\n
"
,
(
DWORD
)
devinfo
);
return
FALSE
;
}
/***********************************************************************
* SetupDiGetDeviceRegistryPropertyA (SETUPAPI.@)
*/
BOOL
WINAPI
SetupDiGetDeviceRegistryPropertyA
(
HDEVINFO
devinfo
,
PSP_DEVINFO_DATA
DeviceInfoData
,
...
...
This diff is collapsed.
Click to expand it.
scheduler/process.c
+
0
−
3
View file @
296c5a6b
...
...
@@ -1774,10 +1774,7 @@ BOOL WINAPI AreFileApisANSI(void)
/***********************************************************************
* GetTickCount (USER.13)
* GetCurrentTime (USER.15)
* GetTickCount (KERNEL32.@)
* GetSystemMSecCount (SYSTEM.6)
*
* Returns the number of milliseconds, modulo 2^32, since the start
* of the wineserver.
...
...
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