Fixed some calling conventions.

This commit is contained in:
Vincent Béron 2005-03-21 10:32:45 +00:00 committed by Alexandre Julliard
parent dcd3fde210
commit 1e365f7791
7 changed files with 27 additions and 27 deletions

View File

@ -3320,7 +3320,7 @@ BOOL WINAPI EncryptFileA(LPCSTR lpFileName)
/****************************************************************************** /******************************************************************************
* SetSecurityInfo [ADVAPI32.@] * SetSecurityInfo [ADVAPI32.@]
*/ */
DWORD SetSecurityInfo(HANDLE handle, SE_OBJECT_TYPE ObjectType, DWORD WINAPI SetSecurityInfo(HANDLE handle, SE_OBJECT_TYPE ObjectType,
SECURITY_INFORMATION SecurityInfo, PSID psidOwner, SECURITY_INFORMATION SecurityInfo, PSID psidOwner,
PSID psidGroup, PACL pDacl, PACL pSacl) { PSID psidGroup, PACL pDacl, PACL pSacl) {
FIXME("stub\n"); FIXME("stub\n");

View File

@ -2316,7 +2316,7 @@ HRESULT WINAPI AVIPutFileOnClipboard(PAVIFILE pfile)
return AVIERR_UNSUPPORTED; return AVIERR_UNSUPPORTED;
} }
HRESULT WINAPI AVISaveA(LPCSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK lpfnCallback, HRESULT CDECL AVISaveA(LPCSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK lpfnCallback,
int nStreams, PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...) int nStreams, PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...)
{ {
FIXME("(%s,%p,%p,0x%08x,%p,%p), stub!\n", debugstr_a(szFile), pclsidHandler, lpfnCallback, FIXME("(%s,%p,%p,0x%08x,%p,%p), stub!\n", debugstr_a(szFile), pclsidHandler, lpfnCallback,
@ -2325,7 +2325,7 @@ HRESULT WINAPI AVISaveA(LPCSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK lp
return AVIERR_UNSUPPORTED; return AVIERR_UNSUPPORTED;
} }
HRESULT WINAPI AVISaveW(LPCWSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK lpfnCallback, HRESULT CDECL AVISaveW(LPCWSTR szFile, CLSID * pclsidHandler, AVISAVECALLBACK lpfnCallback,
int nStreams, PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...) int nStreams, PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...)
{ {
FIXME("(%s,%p,%p,0x%08x,%p,%p), stub!\n", debugstr_w(szFile), pclsidHandler, lpfnCallback, FIXME("(%s,%p,%p,0x%08x,%p,%p), stub!\n", debugstr_w(szFile), pclsidHandler, lpfnCallback,

View File

@ -2165,13 +2165,13 @@ BOOL WINAPI DeleteUrlCacheEntryW(LPCWSTR lpszUrlName)
return TRUE; return TRUE;
} }
BOOL DeleteUrlCacheContainerA(DWORD d1, DWORD d2) BOOL WINAPI DeleteUrlCacheContainerA(DWORD d1, DWORD d2)
{ {
FIXME("(0x%08lx, 0x%08lx) stub\n", d1, d2); FIXME("(0x%08lx, 0x%08lx) stub\n", d1, d2);
return TRUE; return TRUE;
} }
BOOL DeleteUrlCacheContainerW(DWORD d1, DWORD d2) BOOL WINAPI DeleteUrlCacheContainerW(DWORD d1, DWORD d2)
{ {
FIXME("(0x%08lx, 0x%08lx) stub\n", d1, d2); FIXME("(0x%08lx, 0x%08lx) stub\n", d1, d2);
return TRUE; return TRUE;

View File

@ -89,7 +89,7 @@ BOOL WINAPI WTSEnumerateProcessesW(HANDLE hServer, DWORD Reserved, DWORD Version
/************************************************************ /************************************************************
* WTSEnumerateEnumerateSessionsA (WTSAPI32.@) * WTSEnumerateEnumerateSessionsA (WTSAPI32.@)
*/ */
BOOL WTSEnumerateSessionsA(HANDLE hServer, DWORD Reserved, DWORD Version, BOOL WINAPI WTSEnumerateSessionsA(HANDLE hServer, DWORD Reserved, DWORD Version,
PWTS_SESSION_INFOA* ppSessionInfo, DWORD* pCount) PWTS_SESSION_INFOA* ppSessionInfo, DWORD* pCount)
{ {
FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version, FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version,
@ -100,7 +100,7 @@ BOOL WTSEnumerateSessionsA(HANDLE hServer, DWORD Reserved, DWORD Version,
/************************************************************ /************************************************************
* WTSEnumerateEnumerateSessionsW (WTSAPI32.@) * WTSEnumerateEnumerateSessionsW (WTSAPI32.@)
*/ */
BOOL WTSEnumerateSessionsW(HANDLE hServer, DWORD Reserved, DWORD Version, BOOL WINAPI WTSEnumerateSessionsW(HANDLE hServer, DWORD Reserved, DWORD Version,
PWTS_SESSION_INFOW* ppSessionInfo, DWORD* pCount) PWTS_SESSION_INFOW* ppSessionInfo, DWORD* pCount)
{ {
FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version, FIXME("Stub %p 0x%08lx 0x%08lx %p %p\n", hServer, Reserved, Version,

View File

@ -47,6 +47,9 @@ DWORD WINAPI SetEntriesInAclA( ULONG, PEXPLICIT_ACCESSA, PACL, PACL*);
DWORD WINAPI SetEntriesInAclW( ULONG, PEXPLICIT_ACCESSW, PACL, PACL*); DWORD WINAPI SetEntriesInAclW( ULONG, PEXPLICIT_ACCESSW, PACL, PACL*);
#define SetEntriesInAcl WINELIB_NAME_AW(SetEntriesInAcl) #define SetEntriesInAcl WINELIB_NAME_AW(SetEntriesInAcl)
DWORD WINAPI SetSecurityInfo(HANDLE, SE_OBJECT_TYPE, SECURITY_INFORMATION,
PSID, PSID, PACL, PACL);
TRUSTEE_FORM WINAPI GetTrusteeFormA( PTRUSTEEA ); TRUSTEE_FORM WINAPI GetTrusteeFormA( PTRUSTEEA );
TRUSTEE_FORM WINAPI GetTrusteeFormW( PTRUSTEEW ); TRUSTEE_FORM WINAPI GetTrusteeFormW( PTRUSTEEW );
#define GetTrusteeForm WINELIB_NAME_AW(GetTrusteeForm) #define GetTrusteeForm WINELIB_NAME_AW(GetTrusteeForm)

View File

@ -1062,6 +1062,9 @@ HRESULT WINAPI AVIStreamOpenFromFileW(PAVISTREAM *ppavi, LPCWSTR szFile,
UINT mode, CLSID *pclsidHandler); UINT mode, CLSID *pclsidHandler);
#define AVIStreamOpenFromFile WINELIB_NAME_AW(AVIStreamOpenFromFile) #define AVIStreamOpenFromFile WINELIB_NAME_AW(AVIStreamOpenFromFile)
LONG WINAPI AVIStreamBeginStreaming(PAVISTREAM pavi, LONG lStart, LONG lEnd, LONG lRate);
LONG WINAPI AVIStreamEndStreaming(PAVISTREAM pavi);
HRESULT WINAPI AVIBuildFilterA(LPSTR szFilter, LONG cbFilter, BOOL fSaving); HRESULT WINAPI AVIBuildFilterA(LPSTR szFilter, LONG cbFilter, BOOL fSaving);
HRESULT WINAPI AVIBuildFilterW(LPWSTR szFilter, LONG cbFilter, BOOL fSaving); HRESULT WINAPI AVIBuildFilterW(LPWSTR szFilter, LONG cbFilter, BOOL fSaving);
#define AVIBuildFilter WINELIB_NAME_AW(AVIBuildFilter) #define AVIBuildFilter WINELIB_NAME_AW(AVIBuildFilter)
@ -1070,10 +1073,10 @@ BOOL WINAPI AVISaveOptions(HWND hWnd,UINT uFlags,INT nStream,
PAVISTREAM *ppavi,LPAVICOMPRESSOPTIONS *ppOptions); PAVISTREAM *ppavi,LPAVICOMPRESSOPTIONS *ppOptions);
HRESULT WINAPI AVISaveOptionsFree(INT nStreams,LPAVICOMPRESSOPTIONS*ppOptions); HRESULT WINAPI AVISaveOptionsFree(INT nStreams,LPAVICOMPRESSOPTIONS*ppOptions);
HRESULT WINAPI AVISaveA(LPCSTR szFile, CLSID *pclsidHandler, HRESULT CDECL AVISaveA(LPCSTR szFile, CLSID *pclsidHandler,
AVISAVECALLBACK lpfnCallback, int nStreams, AVISAVECALLBACK lpfnCallback, int nStreams,
PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...); PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...);
HRESULT WINAPI AVISaveW(LPCWSTR szFile, CLSID *pclsidHandler, HRESULT CDECL AVISaveW(LPCWSTR szFile, CLSID *pclsidHandler,
AVISAVECALLBACK lpfnCallback, int nStreams, AVISAVECALLBACK lpfnCallback, int nStreams,
PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...); PAVISTREAM pavi, LPAVICOMPRESSOPTIONS lpOptions, ...);
#define AVISave WINELIB_NAME_AW(AVISave) #define AVISave WINELIB_NAME_AW(AVISave)

View File

@ -89,24 +89,18 @@ typedef struct _WTS_SESSION_INFOW
WTS_CONNECTSTATE_CLASS State; WTS_CONNECTSTATE_CLASS State;
} WTS_SESSION_INFOW, *PWTS_SESSION_INFOW; } WTS_SESSION_INFOW, *PWTS_SESSION_INFOW;
BOOL WINAPI WTSQuerySessionInformationW( void WINAPI WTSCloseServer(HANDLE);
HANDLE hServer, BOOL WINAPI WTSDisconnectSession(HANDLE, DWORD, BOOL);
DWORD SessionId, BOOL WINAPI WTSEnumerateProcessesA(HANDLE, DWORD, DWORD, PWTS_PROCESS_INFOA *, DWORD *);
WTS_INFO_CLASS WTSInfoClass, BOOL WINAPI WTSEnumerateProcessesW(HANDLE, DWORD, DWORD, PWTS_PROCESS_INFOW *, DWORD *);
LPWSTR * Buffer, #define WTSEnumerateProcesses WINELIB_NAME_AW(WTSEnumerateProcesses)
DWORD * BytesReturned BOOL WINAPI WTSEnumerateSessionsA(HANDLE, DWORD, DWORD, PWTS_SESSION_INFOA *, DWORD *);
); BOOL WINAPI WTSEnumerateSessionsW(HANDLE, DWORD, DWORD, PWTS_SESSION_INFOW *, DWORD *);
#define WTSEnumerateSessions WINELIB_NAME_AW(WTSEnumerateSessions)
BOOL WINAPI WTSQuerySessionInformationA( BOOL WINAPI WTSQuerySessionInformationA(HANDLE, DWORD, WTS_INFO_CLASS, LPSTR *, DWORD *);
HANDLE hServer, BOOL WINAPI WTSQuerySessionInformationW(HANDLE, DWORD, WTS_INFO_CLASS, LPWSTR *, DWORD *);
DWORD SessionId, #define WTSQuerySessionInformation WINELIB_NAME_AW(WTSQuerySessionInformation)
WTS_INFO_CLASS WTSInfoClass, BOOL WINAPI WTSWaitSystemEvent(HANDLE, DWORD, DWORD*);
LPSTR * Buffer,
DWORD * BytesReturned
);
#define WTSQuerySessionInformation WINELIB_NAME_AW(WTSQuerySessionInformation)
BOOL WINAPI WTSWaitSystemEvent(HANDLE hServer, DWORD Mask, DWORD* Flags);
#ifdef __cplusplus #ifdef __cplusplus
} }