Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
93e936f9
Commit
93e936f9
authored
Jun 28, 2001
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 28, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finish ole32 separation.
parent
9f55ae6f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
66 additions
and
8 deletions
+66
-8
compobj.c
dlls/ole32/compobj.c
+15
-0
compobj.spec
dlls/ole32/compobj.spec
+2
-2
ole2nls.c
dlls/ole32/ole2nls.c
+41
-0
ole2nls.spec
dlls/ole32/ole2nls.spec
+5
-5
winnls.h
include/winnls.h
+3
-1
No files found.
dlls/ole32/compobj.c
View file @
93e936f9
...
...
@@ -931,6 +931,21 @@ HRESULT WINAPI CoRevokeClassObject16(DWORD dwRegister) /* [in] token on class ob
return
0
;
}
/******************************************************************************
* CoFileTimeToDosDateTime [COMPOBJ.30]
*/
BOOL16
WINAPI
CoFileTimeToDosDateTime16
(
const
FILETIME
*
ft
,
LPWORD
lpDosDate
,
LPWORD
lpDosTime
)
{
return
FileTimeToDosDateTime
(
ft
,
lpDosDate
,
lpDosTime
);
}
/******************************************************************************
* CoDosDateTimeToFileTime [COMPOBJ.31]
*/
BOOL16
WINAPI
CoDosDateTimeToFileTime16
(
WORD
wDosDate
,
WORD
wDosTime
,
FILETIME
*
ft
)
{
return
DosDateTimeToFileTime
(
wDosDate
,
wDosTime
,
ft
);
}
/***
* COM_GetRegisteredClassObject
...
...
dlls/ole32/compobj.spec
View file @
93e936f9
...
...
@@ -31,8 +31,8 @@ owner ole32
27 pascal CoRegisterMessageFilter(ptr ptr) CoRegisterMessageFilter16
28 stub COISHANDLERCONNECTED
29 stub SHRADDREF
30 pascal
CoFileTimeToDosDateTime(ptr ptr ptr) FileTimeToDosDateTime
31 pascal
CoDosDateTimeToFileTime(word word ptr) DosDateTimeToFileTime
30 pascal
16 CoFileTimeToDosDateTime(ptr ptr ptr) CoFileTimeToDosDateTime16
31 pascal
16 CoDosDateTimeToFileTime(word word ptr) CoDosDateTimeToFileTime16
32 stub COMARSHALHRESULT
33 stub COUNMARSHALHRESULT
34 pascal CoGetCurrentProcess() CoGetCurrentProcess
...
...
dlls/ole32/ole2nls.c
View file @
93e936f9
...
...
@@ -45,6 +45,47 @@ BOOL16 WINAPI GetStringType16(LCID locale,DWORD dwInfoType,LPCSTR src,
return
GetStringTypeExA
(
locale
,
dwInfoType
,
src
,
cchSrc
,
chartype
);
}
/******************************************************************************
* GetUserDefaultLCID [OLE2NLS.1]
*/
LCID
WINAPI
GetUserDefaultLCID16
(
void
)
{
return
GetUserDefaultLCID
();
}
/******************************************************************************
* GetSystemDefaultLCID [OLE2NLS.2]
*/
LCID
WINAPI
GetSystemDefaultLCID16
(
void
)
{
return
GetSystemDefaultLCID
();
}
/******************************************************************************
* GetUserDefaultLangID [OLE2NLS.3]
*/
LANGID
WINAPI
GetUserDefaultLangID16
(
void
)
{
return
GetUserDefaultLangID
();
}
/******************************************************************************
* GetSystemDefaultLangID [OLE2NLS.4]
*/
LANGID
WINAPI
GetSystemDefaultLangID16
(
void
)
{
return
GetSystemDefaultLangID
();
}
/******************************************************************************
* LCMapStringA [OLE2NLS.6]
*/
INT16
LCMapString16
(
LCID
lcid
,
DWORD
mapflags
,
LPCSTR
srcstr
,
INT16
srclen
,
LPSTR
dststr
,
INT16
dstlen
)
{
return
LCMapStringA
(
lcid
,
mapflags
,
srcstr
,
srclen
,
dststr
,
dstlen
);
}
/***********************************************************************
* CompareString16 (OLE2NLS.8)
*/
...
...
dlls/ole32/ole2nls.spec
View file @
93e936f9
...
...
@@ -2,12 +2,12 @@ name ole2nls
type win16
owner ole32
1 pascal GetUserDefaultLCID()
GetUserDefaultLCID
2 pascal GetSystemDefaultLCID()
GetSystemDefaultLCID
3 pascal
GetUserDefaultLangID() GetUserDefaultLangID
4 pascal
GetSystemDefaultLangID() GetSystemDefaultLangID
1 pascal GetUserDefaultLCID()
GetUserDefaultLCID16
2 pascal GetSystemDefaultLCID()
GetSystemDefaultLCID16
3 pascal
16 GetUserDefaultLangID() GetUserDefaultLangID16
4 pascal
16 GetSystemDefaultLangID() GetSystemDefaultLangID16
5 pascal GetLocaleInfoA(long long ptr word) GetLocaleInfo16
6
stub LCMAPSTRINGA
6
pascal16 LCMapStringA(word long ptr word ptr word) LCMapString16
7 pascal16 GetStringTypeA(long long str word ptr) GetStringType16
8 pascal16 CompareStringA(long long str word str word) CompareString16
9 pascal16 RegisterNLSInfoChanged(ptr) RegisterNLSInfoChanged16
...
...
include/winnls.h
View file @
93e936f9
...
...
@@ -395,7 +395,9 @@ INT WINAPI GetNumberFormatA(LCID,DWORD,LPCSTR,const NUMBERFMTA*,LPSTR,in
INT
WINAPI
GetNumberFormatW
(
LCID
,
DWORD
,
LPCWSTR
,
const
NUMBERFMTW
*
,
LPWSTR
,
int
);
#define GetNumberFormat WINELIB_NAME_AW(GetNumberFormat)
BOOL
WINAPI
IsValidCodePage
(
UINT
);
INT
WINAPI
LCMapStringA
(
LCID
,
DWORD
,
LPCSTR
,
INT
,
LPSTR
,
INT
);
INT
WINAPI
LCMapStringW
(
LCID
,
DWORD
,
LPCWSTR
,
INT
,
LPWSTR
,
INT
);
#define LCMapString WINELIB_NAME_AW(LCMapString)
#ifdef __cplusplus
}
...
...
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