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
29bbe122
Commit
29bbe122
authored
Nov 22, 1998
by
Andreas Mohr
Committed by
Alexandre Julliard
Nov 22, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enhanced OABuildVersion() to return different version values for
different winvers.
parent
8f4252d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
typelib.c
ole/typelib.c
+13
-2
No files found.
ole/typelib.c
View file @
29bbe122
...
...
@@ -17,6 +17,7 @@
#include "oleauto.h"
#include "compobj.h"
#include "debug.h"
#include "winversion.h"
/****************************************************************************
* QueryPathOfRegTypeLib16 [TYPELIB.14]
...
...
@@ -148,7 +149,7 @@ HRESULT WINAPI RegisterTypeLib32(
OLECHAR
*
szFullPath
,
/*[in] full Path of the library*/
OLECHAR
*
szHelpDir
)
/*[in] dir to the helpfile for the library, may be NULL*/
{
FIXME
(
ole
,
"(%p,%s,%s): stub
\n
"
,
ptlib
,
szFullPath
,
szHelpDir
);
return
S_OK
;
/*
fixme: pretend everything is OK
*/
return
S_OK
;
/*
FIXME: pretend everything is OK
*/
}
/****************************************************************************
...
...
@@ -158,5 +159,15 @@ HRESULT WINAPI RegisterTypeLib32(
*/
DWORD
WINAPI
OABuildVersion
()
{
return
MAKELONG
(
0xbd3
,
0x3
);
WINDOWS_VERSION
ver
=
VERSION_GetVersion
();
switch
(
ver
)
{
case
WIN95
:
return
MAKELONG
(
0xbd0
,
0xa
);
/* Win95A */
case
WIN31
:
return
MAKELONG
(
0xbd3
,
0x3
);
/* WfW 3.11 */
default:
FIXME
(
ole
,
"Version value not known yet. Please investigate it !"
);
return
MAKELONG
(
0xbd0
,
0xa
);
/* return Win95A for now */
}
}
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