Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
296c5a6b
Commit
296c5a6b
authored
Jun 04, 2002
by
Patrik Stridvall
Committed by
Alexandre Julliard
Jun 04, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some issues found by winapi_check.
parent
3c85eb18
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
18 deletions
+39
-18
locale.c
dlls/kernel/tests/locale.c
+18
-15
devinst.c
dlls/setupapi/devinst.c
+21
-0
process.c
scheduler/process.c
+0
-3
No files found.
dlls/kernel/tests/locale.c
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
();
...
...
dlls/setupapi/devinst.c
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
,
...
...
scheduler/process.c
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment