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
fca16bc5
Commit
fca16bc5
authored
Oct 25, 2009
by
Alexander Nicolaysen Sørnes
Committed by
Alexandre Julliard
Oct 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Implement GetProductInfo on top of ntdll stub.
parent
ee0b7663
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-0
version.c
dlls/kernel32/version.c
+15
-0
No files found.
dlls/kernel32/kernel32.spec
View file @
fca16bc5
...
...
@@ -599,6 +599,7 @@
@ stdcall GetProcessTimes(long ptr ptr ptr ptr)
@ stdcall GetProcessVersion(long)
@ stdcall GetProcessWorkingSetSize(long ptr ptr)
@ stdcall GetProductInfo(long long long long ptr)
@ stub GetProductName
@ stdcall GetProfileIntA(str str long)
@ stdcall GetProfileIntW(wstr wstr long)
...
...
dlls/kernel32/version.c
View file @
fca16bc5
...
...
@@ -186,3 +186,18 @@ DWORD WINAPI SetTermsrvAppInstallMode(BOOL bInstallMode)
FIXME
(
"(%d): stub
\n
"
,
bInstallMode
);
return
0
;
}
/***********************************************************************
* GetProductInfo (KERNEL32.@)
*
* Gives info about the current Windows product type, in a format compatible
* with the given Windows version
*
* Returns TRUE if the input is valid, FALSE otherwise
*/
BOOL
WINAPI
GetProductInfo
(
DWORD
dwOSMajorVersion
,
DWORD
dwOSMinorVersion
,
DWORD
dwSpMajorVersion
,
DWORD
dwSpMinorVersion
,
PDWORD
pdwReturnedProductType
)
{
return
RtlGetProductInfo
(
dwOSMajorVersion
,
dwOSMinorVersion
,
dwSpMajorVersion
,
dwSpMinorVersion
,
pdwReturnedProductType
);
}
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