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
8228bd67
Commit
8228bd67
authored
Apr 22, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
Apr 22, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing profile KERNEL routines (call 32-bit versions).
parent
a7e6e81d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
24 deletions
+73
-24
profile.c
files/profile.c
+67
-18
kernel.spec
if1632/kernel.spec
+6
-6
No files found.
files/profile.c
View file @
8228bd67
...
@@ -1010,24 +1010,6 @@ INT WINAPI GetProfileStringW( LPCWSTR section, LPCWSTR entry,
...
@@ -1010,24 +1010,6 @@ INT WINAPI GetProfileStringW( LPCWSTR section, LPCWSTR entry,
}
}
/***********************************************************************
/***********************************************************************
* GetProfileSection32A (KERNEL32.268)
*/
INT
WINAPI
GetProfileSectionA
(
LPCSTR
section
,
LPSTR
buffer
,
DWORD
len
)
{
return
GetPrivateProfileSectionA
(
section
,
buffer
,
len
,
"win.ini"
);
}
/***********************************************************************
* GetProfileSection32W (KERNEL32)
*/
INT
WINAPI
GetProfileSectionW
(
LPCWSTR
section
,
LPWSTR
buffer
,
DWORD
len
)
{
if
(
!
wininiW
)
wininiW
=
HEAP_strdupAtoW
(
SystemHeap
,
0
,
"win.ini"
);
return
GetPrivateProfileSectionW
(
section
,
buffer
,
len
,
wininiW
);
}
/***********************************************************************
* WriteProfileString16 (KERNEL.59)
* WriteProfileString16 (KERNEL.59)
*/
*/
BOOL16
WINAPI
WriteProfileString16
(
LPCSTR
section
,
LPCSTR
entry
,
BOOL16
WINAPI
WriteProfileString16
(
LPCSTR
section
,
LPCSTR
entry
,
...
@@ -1164,6 +1146,15 @@ INT WINAPI GetPrivateProfileStringW( LPCWSTR section, LPCWSTR entry,
...
@@ -1164,6 +1146,15 @@ INT WINAPI GetPrivateProfileStringW( LPCWSTR section, LPCWSTR entry,
}
}
/***********************************************************************
/***********************************************************************
* GetPrivateProfileSection16 (KERNEL.418)
*/
INT16
WINAPI
GetPrivateProfileSection16
(
LPCSTR
section
,
LPSTR
buffer
,
UINT16
len
,
LPCSTR
filename
)
{
return
GetPrivateProfileSectionA
(
section
,
buffer
,
len
,
filename
);
}
/***********************************************************************
* GetPrivateProfileSection32A (KERNEL32.255)
* GetPrivateProfileSection32A (KERNEL32.255)
*/
*/
INT
WINAPI
GetPrivateProfileSectionA
(
LPCSTR
section
,
LPSTR
buffer
,
INT
WINAPI
GetPrivateProfileSectionA
(
LPCSTR
section
,
LPSTR
buffer
,
...
@@ -1202,6 +1193,32 @@ INT WINAPI GetPrivateProfileSectionW (LPCWSTR section, LPWSTR buffer,
...
@@ -1202,6 +1193,32 @@ INT WINAPI GetPrivateProfileSectionW (LPCWSTR section, LPWSTR buffer,
}
}
/***********************************************************************
/***********************************************************************
* GetProfileSection16 (KERNEL.419)
*/
INT16
WINAPI
GetProfileSection16
(
LPCSTR
section
,
LPSTR
buffer
,
UINT16
len
)
{
return
GetPrivateProfileSection16
(
section
,
buffer
,
len
,
"win.ini"
);
}
/***********************************************************************
* GetProfileSection32A (KERNEL32.268)
*/
INT
WINAPI
GetProfileSectionA
(
LPCSTR
section
,
LPSTR
buffer
,
DWORD
len
)
{
return
GetPrivateProfileSectionA
(
section
,
buffer
,
len
,
"win.ini"
);
}
/***********************************************************************
* GetProfileSection32W (KERNEL32)
*/
INT
WINAPI
GetProfileSectionW
(
LPCWSTR
section
,
LPWSTR
buffer
,
DWORD
len
)
{
if
(
!
wininiW
)
wininiW
=
HEAP_strdupAtoW
(
SystemHeap
,
0
,
"win.ini"
);
return
GetPrivateProfileSectionW
(
section
,
buffer
,
len
,
wininiW
);
}
/***********************************************************************
* WritePrivateProfileString16 (KERNEL.129)
* WritePrivateProfileString16 (KERNEL.129)
*/
*/
BOOL16
WINAPI
WritePrivateProfileString16
(
LPCSTR
section
,
LPCSTR
entry
,
BOOL16
WINAPI
WritePrivateProfileString16
(
LPCSTR
section
,
LPCSTR
entry
,
...
@@ -1253,6 +1270,15 @@ BOOL WINAPI WritePrivateProfileStringW( LPCWSTR section, LPCWSTR entry,
...
@@ -1253,6 +1270,15 @@ BOOL WINAPI WritePrivateProfileStringW( LPCWSTR section, LPCWSTR entry,
}
}
/***********************************************************************
/***********************************************************************
* WritePrivateProfileSection16 (KERNEL.416)
*/
BOOL16
WINAPI
WritePrivateProfileSection16
(
LPCSTR
section
,
LPCSTR
string
,
LPCSTR
filename
)
{
return
WritePrivateProfileSectionA
(
section
,
string
,
filename
);
}
/***********************************************************************
* WritePrivateProfileSection32A (KERNEL32)
* WritePrivateProfileSection32A (KERNEL32)
*/
*/
BOOL
WINAPI
WritePrivateProfileSectionA
(
LPCSTR
section
,
BOOL
WINAPI
WritePrivateProfileSectionA
(
LPCSTR
section
,
...
@@ -1290,6 +1316,13 @@ BOOL WINAPI WritePrivateProfileSectionW( LPCWSTR section,
...
@@ -1290,6 +1316,13 @@ BOOL WINAPI WritePrivateProfileSectionW( LPCWSTR section,
return
res
;
return
res
;
}
}
/***********************************************************************
* WriteProfileSection16 (KERNEL.417)
*/
BOOL16
WINAPI
WriteProfileSection16
(
LPCSTR
section
,
LPCSTR
keys_n_values
)
{
return
WritePrivateProfileSection16
(
section
,
keys_n_values
,
"win.ini"
);
}
/***********************************************************************
/***********************************************************************
* WriteProfileSection32A (KERNEL32.747)
* WriteProfileSection32A (KERNEL32.747)
...
@@ -1390,6 +1423,14 @@ DWORD WINAPI GetPrivateProfileSectionNamesW( LPWSTR buffer, DWORD size,
...
@@ -1390,6 +1423,14 @@ DWORD WINAPI GetPrivateProfileSectionNamesW( LPWSTR buffer, DWORD size,
return
ret
;
return
ret
;
}
}
/***********************************************************************
* GetPrivateProfileStruct16 (KERNEL.407)
*/
BOOL16
WINAPI
GetPrivateProfileStruct16
(
LPCSTR
section
,
LPCSTR
key
,
LPVOID
buf
,
UINT16
len
,
LPCSTR
filename
)
{
return
GetPrivateProfileStructA
(
section
,
key
,
buf
,
len
,
filename
);
}
/***********************************************************************
/***********************************************************************
* GetPrivateProfileStruct32A (KERNEL32.370)
* GetPrivateProfileStruct32A (KERNEL32.370)
...
@@ -1437,6 +1478,14 @@ BOOL WINAPI GetPrivateProfileStructW (LPCWSTR section, LPCWSTR key,
...
@@ -1437,6 +1478,14 @@ BOOL WINAPI GetPrivateProfileStructW (LPCWSTR section, LPCWSTR key,
/***********************************************************************
* WritePrivateProfileStruct16 (KERNEL.406)
*/
BOOL16
WINAPI
WritePrivateProfileStruct16
(
LPCSTR
section
,
LPCSTR
key
,
LPVOID
buf
,
UINT16
bufsize
,
LPCSTR
filename
)
{
return
WritePrivateProfileStructA
(
section
,
key
,
buf
,
bufsize
,
filename
);
}
/***********************************************************************
/***********************************************************************
* WritePrivateProfileStruct32A (KERNEL32.744)
* WritePrivateProfileStruct32A (KERNEL32.744)
...
...
if1632/kernel.spec
View file @
8228bd67
...
@@ -318,8 +318,8 @@ file krnl386.exe
...
@@ -318,8 +318,8 @@ file krnl386.exe
# 406-494 are present only in Win95
# 406-494 are present only in Win95
406
stub WritePrivateProfileStruct
406
pascal16 WritePrivateProfileStruct(str str ptr word str) WritePrivateProfileStruct16
407
stub GetPrivateProfileStruct
407
pascal16 GetPrivateProfileStruct(str str ptr word str) GetPrivateProfileStruct16
408 stub KERNEL_408
408 stub KERNEL_408
409 stub KERNEL_409
409 stub KERNEL_409
410 stub CreateProcessFromWinExec
410 stub CreateProcessFromWinExec
...
@@ -328,10 +328,10 @@ file krnl386.exe
...
@@ -328,10 +328,10 @@ file krnl386.exe
413 pascal16 FindFirstFile(ptr ptr) FindFirstFile16
413 pascal16 FindFirstFile(ptr ptr) FindFirstFile16
414 pascal16 FindNextFile(word ptr) FindNextFile16
414 pascal16 FindNextFile(word ptr) FindNextFile16
415 pascal16 FindClose(word) FindClose16
415 pascal16 FindClose(word) FindClose16
416
stub WritePrivateProfileSection
416
pascal16 WritePrivateProfileSection(str str str) WritePrivateProfileSection16
417
stub WriteProfileSection
417
pascal16 WriteProfileSection(str str) WriteProfileSection16
418
stub GetPrivateProfileSection
418
pascal16 GetPrivateProfileSection(str ptr word str) GetPrivateProfileSection16
419
stub GetProfileSection
419
pascal16 GetProfileSection(str ptr word) GetProfileSection16
420 pascal GetFileAttributes(ptr) GetFileAttributes16
420 pascal GetFileAttributes(ptr) GetFileAttributes16
421 pascal16 SetFileAttributes(ptr long) SetFileAttributes16
421 pascal16 SetFileAttributes(ptr long) SetFileAttributes16
422 pascal16 GetDiskFreeSpace(ptr ptr ptr ptr ptr) GetDiskFreeSpace16
422 pascal16 GetDiskFreeSpace(ptr ptr ptr ptr ptr) GetDiskFreeSpace16
...
...
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