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
49467be6
Commit
49467be6
authored
Jun 14, 2002
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 14, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added GetCurrentHwProfileA.
parent
4ebb7b53
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
0 deletions
+29
-0
advapi.c
dlls/advapi32/advapi.c
+12
-0
advapi32.spec
dlls/advapi32/advapi32.spec
+2
-0
winbase.h
include/winbase.h
+15
-0
No files found.
dlls/advapi32/advapi.c
View file @
49467be6
...
...
@@ -93,6 +93,18 @@ GetUserNameW( LPWSTR lpszName, LPDWORD lpSize )
}
/******************************************************************************
* GetCurrentHwProfileA [ADVAPI32.@]
*/
BOOL
WINAPI
GetCurrentHwProfileA
(
LPHW_PROFILE_INFOA
info
)
{
FIXME
(
"Mostly Stub
\n
"
);
info
->
dwDockInfo
=
DOCKINFO_DOCKED
;
strcpy
(
info
->
szHwProfileGuid
,
"{12340001-1234-1234-1234-1233456789012}"
);
strcpy
(
info
->
szHwProfileName
,
"Wine Profile"
);
return
1
;
}
/******************************************************************************
* AbortSystemShutdownA [ADVAPI32.@]
*
* PARAMS
...
...
dlls/advapi32/advapi32.spec
View file @
49467be6
...
...
@@ -85,6 +85,8 @@ name advapi32
@ stdcall FreeSid(ptr) FreeSid
@ stdcall GetAce(ptr long ptr) GetAce
@ stub GetAclInformation
@ stdcall GetCurrentHwProfileA(ptr) GetCurrentHwProfileA
@ stub GetEffectiveRightsFromAclA
@ stdcall GetFileSecurityA(str long ptr long ptr) GetFileSecurityA
@ stdcall GetFileSecurityW(wstr long ptr long ptr) GetFileSecurityW
@ stub GetKernelObjectSecurity
...
...
include/winbase.h
View file @
49467be6
...
...
@@ -1919,6 +1919,21 @@ static inline PVOID WINAPI InterlockedExchangePointer( PVOID *dest, PVOID val )
/* If this is not declared, we cannot compile many sources written with C++. */
int
WINAPI
WinMain
(
HINSTANCE
,
HINSTANCE
,
LPSTR
,
int
);
#define HW_PROFILE_GUIDLEN 39
#define MAX_PROFILE_LEN 80
#define DOCKINFO_UNDOCKED 0x1
#define DOCKINFO_DOCKED 0x2
#define DOCKINFO_USER_SUPPLIED 0x4
#define DOCKINFO_USER_UNDOCKED (DOCKINFO_USER_SUPPLIED | DOCKINFO_UNDOCKED)
#define DOCKINFO_USER_DOCKED (DOCKINFO_USER_SUPPLIED | DOCKINFO_DOCKED)
typedef
struct
HW_PROFILE_INFOAtag
{
DWORD
dwDockInfo
;
CHAR
szHwProfileGuid
[
HW_PROFILE_GUIDLEN
];
CHAR
szHwProfileName
[
MAX_PROFILE_LEN
];
}
HW_PROFILE_INFOA
,
*
LPHW_PROFILE_INFOA
;
/* Stream data structures and defines */
/*the types of backup data -- WIN32_STREAM_ID.dwStreamID below*/
#define BACKUP_INVALID 0
...
...
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