Added GetCurrentHwProfileA.
This commit is contained in:
parent
4ebb7b536e
commit
49467be6d9
|
@ -92,6 +92,18 @@ GetUserNameW( LPWSTR lpszName, LPDWORD lpSize )
|
|||
return res;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* 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.@]
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue