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
62662d21
Commit
62662d21
authored
Feb 06, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Improve the prototypes Win64 compatibility by replacing long with LONG.
parent
e6979d56
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
66 additions
and
67 deletions
+66
-67
rpc_binding.c
dlls/rpcrt4/rpc_binding.c
+33
-33
rpc_server.c
dlls/rpcrt4/rpc_server.c
+9
-9
rpcdce.h
include/rpcdce.h
+22
-22
win32.api
tools/winapi/win32.api
+2
-3
No files found.
dlls/rpcrt4/rpc_binding.c
View file @
62662d21
This diff is collapsed.
Click to expand it.
dlls/rpcrt4/rpc_server.c
View file @
62662d21
...
@@ -940,10 +940,10 @@ RPC_STATUS WINAPI RpcObjectSetType( UUID* ObjUuid, UUID* TypeUuid )
...
@@ -940,10 +940,10 @@ RPC_STATUS WINAPI RpcObjectSetType( UUID* ObjUuid, UUID* TypeUuid )
/***********************************************************************
/***********************************************************************
* RpcServerRegisterAuthInfoA (RPCRT4.@)
* RpcServerRegisterAuthInfoA (RPCRT4.@)
*/
*/
RPC_STATUS
WINAPI
RpcServerRegisterAuthInfoA
(
RPC_CSTR
ServerPrincName
,
unsigned
long
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
RPC_STATUS
WINAPI
RpcServerRegisterAuthInfoA
(
RPC_CSTR
ServerPrincName
,
ULONG
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
LPVOID
Arg
)
LPVOID
Arg
)
{
{
FIXME
(
"(%s,%
l
u,%p,%p): stub
\n
"
,
ServerPrincName
,
AuthnSvc
,
GetKeyFn
,
Arg
);
FIXME
(
"(%s,%u,%p,%p): stub
\n
"
,
ServerPrincName
,
AuthnSvc
,
GetKeyFn
,
Arg
);
return
RPC_S_UNKNOWN_AUTHN_SERVICE
;
/* We don't know any authentication services */
return
RPC_S_UNKNOWN_AUTHN_SERVICE
;
/* We don't know any authentication services */
}
}
...
@@ -951,10 +951,10 @@ RPC_STATUS WINAPI RpcServerRegisterAuthInfoA( RPC_CSTR ServerPrincName, unsigned
...
@@ -951,10 +951,10 @@ RPC_STATUS WINAPI RpcServerRegisterAuthInfoA( RPC_CSTR ServerPrincName, unsigned
/***********************************************************************
/***********************************************************************
* RpcServerRegisterAuthInfoW (RPCRT4.@)
* RpcServerRegisterAuthInfoW (RPCRT4.@)
*/
*/
RPC_STATUS
WINAPI
RpcServerRegisterAuthInfoW
(
RPC_WSTR
ServerPrincName
,
unsigned
long
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
RPC_STATUS
WINAPI
RpcServerRegisterAuthInfoW
(
RPC_WSTR
ServerPrincName
,
ULONG
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
LPVOID
Arg
)
LPVOID
Arg
)
{
{
FIXME
(
"(%s,%
l
u,%p,%p): stub
\n
"
,
debugstr_w
(
ServerPrincName
),
AuthnSvc
,
GetKeyFn
,
Arg
);
FIXME
(
"(%s,%u,%p,%p): stub
\n
"
,
debugstr_w
(
ServerPrincName
),
AuthnSvc
,
GetKeyFn
,
Arg
);
return
RPC_S_UNKNOWN_AUTHN_SERVICE
;
/* We don't know any authentication services */
return
RPC_S_UNKNOWN_AUTHN_SERVICE
;
/* We don't know any authentication services */
}
}
...
@@ -1067,10 +1067,10 @@ RPC_STATUS WINAPI RpcMgmtInqIfIds(RPC_BINDING_HANDLE Binding, RPC_IF_ID_VECTOR *
...
@@ -1067,10 +1067,10 @@ RPC_STATUS WINAPI RpcMgmtInqIfIds(RPC_BINDING_HANDLE Binding, RPC_IF_ID_VECTOR *
/***********************************************************************
/***********************************************************************
* RpcMgmtEpEltInqBegin (RPCRT4.@)
* RpcMgmtEpEltInqBegin (RPCRT4.@)
*/
*/
RPC_STATUS
WINAPI
RpcMgmtEpEltInqBegin
(
RPC_BINDING_HANDLE
Binding
,
unsigned
long
InquiryType
,
RPC_STATUS
WINAPI
RpcMgmtEpEltInqBegin
(
RPC_BINDING_HANDLE
Binding
,
ULONG
InquiryType
,
RPC_IF_ID
*
IfId
,
unsigned
long
VersOption
,
UUID
*
ObjectUuid
,
RPC_EP_INQ_HANDLE
*
InquiryContext
)
RPC_IF_ID
*
IfId
,
ULONG
VersOption
,
UUID
*
ObjectUuid
,
RPC_EP_INQ_HANDLE
*
InquiryContext
)
{
{
FIXME
(
"(%p,%
lu,%p,%l
u,%p,%p): stub
\n
"
,
FIXME
(
"(%p,%
u,%p,%
u,%p,%p): stub
\n
"
,
Binding
,
InquiryType
,
IfId
,
VersOption
,
ObjectUuid
,
InquiryContext
);
Binding
,
InquiryType
,
IfId
,
VersOption
,
ObjectUuid
,
InquiryContext
);
return
RPC_S_INVALID_BINDING
;
return
RPC_S_INVALID_BINDING
;
}
}
...
@@ -1087,8 +1087,8 @@ RPC_STATUS WINAPI RpcMgmtIsServerListening(RPC_BINDING_HANDLE Binding)
...
@@ -1087,8 +1087,8 @@ RPC_STATUS WINAPI RpcMgmtIsServerListening(RPC_BINDING_HANDLE Binding)
/***********************************************************************
/***********************************************************************
* RpcMgmtSetServerStackSize (RPCRT4.@)
* RpcMgmtSetServerStackSize (RPCRT4.@)
*/
*/
RPC_STATUS
WINAPI
RpcMgmtSetServerStackSize
(
unsigned
long
ThreadStackSize
)
RPC_STATUS
WINAPI
RpcMgmtSetServerStackSize
(
ULONG
ThreadStackSize
)
{
{
FIXME
(
"(0x%
l
x): stub
\n
"
,
ThreadStackSize
);
FIXME
(
"(0x%x): stub
\n
"
,
ThreadStackSize
);
return
RPC_S_OK
;
return
RPC_S_OK
;
}
}
include/rpcdce.h
View file @
62662d21
...
@@ -377,8 +377,8 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
...
@@ -377,8 +377,8 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
RpcMgmtInqIfIds
(
RPC_BINDING_HANDLE
Binding
,
RPC_IF_ID_VECTOR
**
IfIdVector
);
RpcMgmtInqIfIds
(
RPC_BINDING_HANDLE
Binding
,
RPC_IF_ID_VECTOR
**
IfIdVector
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcMgmtEpEltInqBegin
(
RPC_BINDING_HANDLE
EpBinding
,
unsigned
long
InquiryType
,
RPC_IF_ID
*
IfId
,
RpcMgmtEpEltInqBegin
(
RPC_BINDING_HANDLE
EpBinding
,
ULONG
InquiryType
,
RPC_IF_ID
*
IfId
,
unsigned
long
VersOption
,
UUID
*
ObjectUuid
,
RPC_EP_INQ_HANDLE
*
InquiryContext
);
ULONG
VersOption
,
UUID
*
ObjectUuid
,
RPC_EP_INQ_HANDLE
*
InquiryContext
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcServerRegisterIf
(
RPC_IF_HANDLE
IfSpec
,
UUID
*
MgrTypeUuid
,
RPC_MGR_EPV
*
MgrEpv
);
RpcServerRegisterIf
(
RPC_IF_HANDLE
IfSpec
,
UUID
*
MgrTypeUuid
,
RPC_MGR_EPV
*
MgrEpv
);
...
@@ -419,51 +419,51 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
...
@@ -419,51 +419,51 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
#define RpcServerUseProtseqEpEx WINELIB_NAME_AW(RpcServerUseProtseqEpEx)
#define RpcServerUseProtseqEpEx WINELIB_NAME_AW(RpcServerUseProtseqEpEx)
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcServerRegisterAuthInfoA
(
RPC_CSTR
ServerPrincName
,
unsigned
long
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
RpcServerRegisterAuthInfoA
(
RPC_CSTR
ServerPrincName
,
ULONG
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
void
*
Arg
);
void
*
Arg
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcServerRegisterAuthInfoW
(
RPC_WSTR
ServerPrincName
,
unsigned
long
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
RpcServerRegisterAuthInfoW
(
RPC_WSTR
ServerPrincName
,
ULONG
AuthnSvc
,
RPC_AUTH_KEY_RETRIEVAL_FN
GetKeyFn
,
void
*
Arg
);
void
*
Arg
);
#define RpcServerRegisterAuthInfo WINELIB_NAME_AW(RpcServerRegisterAuthInfo)
#define RpcServerRegisterAuthInfo WINELIB_NAME_AW(RpcServerRegisterAuthInfo)
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcBindingSetAuthInfoExA
(
RPC_BINDING_HANDLE
Binding
,
RPC_CSTR
ServerPrincName
,
unsigned
long
AuthnLevel
,
RpcBindingSetAuthInfoExA
(
RPC_BINDING_HANDLE
Binding
,
RPC_CSTR
ServerPrincName
,
ULONG
AuthnLevel
,
unsigned
long
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
AuthIdentity
,
unsigned
long
AuthzSvr
,
ULONG
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
AuthIdentity
,
ULONG
AuthzSvr
,
RPC_SECURITY_QOS
*
SecurityQos
);
RPC_SECURITY_QOS
*
SecurityQos
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcBindingSetAuthInfoExW
(
RPC_BINDING_HANDLE
Binding
,
RPC_WSTR
ServerPrincName
,
unsigned
long
AuthnLevel
,
RpcBindingSetAuthInfoExW
(
RPC_BINDING_HANDLE
Binding
,
RPC_WSTR
ServerPrincName
,
ULONG
AuthnLevel
,
unsigned
long
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
AuthIdentity
,
unsigned
long
AuthzSvr
,
ULONG
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
AuthIdentity
,
ULONG
AuthzSvr
,
RPC_SECURITY_QOS
*
SecurityQos
);
RPC_SECURITY_QOS
*
SecurityQos
);
#define RpcBindingSetAuthInfoEx WINELIB_NAME_AW(RpcBindingSetAuthInfoEx)
#define RpcBindingSetAuthInfoEx WINELIB_NAME_AW(RpcBindingSetAuthInfoEx)
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcBindingSetAuthInfoA
(
RPC_BINDING_HANDLE
Binding
,
RPC_CSTR
ServerPrincName
,
unsigned
long
AuthnLevel
,
RpcBindingSetAuthInfoA
(
RPC_BINDING_HANDLE
Binding
,
RPC_CSTR
ServerPrincName
,
ULONG
AuthnLevel
,
unsigned
long
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
AuthIdentity
,
unsigned
long
AuthzSvr
);
ULONG
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
AuthIdentity
,
ULONG
AuthzSvr
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcBindingSetAuthInfoW
(
RPC_BINDING_HANDLE
Binding
,
RPC_WSTR
ServerPrincName
,
unsigned
long
AuthnLevel
,
RpcBindingSetAuthInfoW
(
RPC_BINDING_HANDLE
Binding
,
RPC_WSTR
ServerPrincName
,
ULONG
AuthnLevel
,
unsigned
long
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
AuthIdentity
,
unsigned
long
AuthzSvr
);
ULONG
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
AuthIdentity
,
ULONG
AuthzSvr
);
#define RpcBindingSetAuthInfo WINELIB_NAME_AW(RpcBindingSetAuthInfo)
#define RpcBindingSetAuthInfo WINELIB_NAME_AW(RpcBindingSetAuthInfo)
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcBindingInqAuthInfoExA
(
RPC_BINDING_HANDLE
Binding
,
RPC_CSTR
*
ServerPrincName
,
unsigned
long
*
AuthnLevel
,
RpcBindingInqAuthInfoExA
(
RPC_BINDING_HANDLE
Binding
,
RPC_CSTR
*
ServerPrincName
,
ULONG
*
AuthnLevel
,
unsigned
long
*
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
*
AuthIdentity
,
unsigned
long
*
AuthzSvc
,
ULONG
*
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
*
AuthIdentity
,
ULONG
*
AuthzSvc
,
unsigned
long
RpcQosVersion
,
RPC_SECURITY_QOS
*
SecurityQOS
);
ULONG
RpcQosVersion
,
RPC_SECURITY_QOS
*
SecurityQOS
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcBindingInqAuthInfoExW
(
RPC_BINDING_HANDLE
Binding
,
RPC_WSTR
*
ServerPrincName
,
unsigned
long
*
AuthnLevel
,
RpcBindingInqAuthInfoExW
(
RPC_BINDING_HANDLE
Binding
,
RPC_WSTR
*
ServerPrincName
,
ULONG
*
AuthnLevel
,
unsigned
long
*
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
*
AuthIdentity
,
unsigned
long
*
AuthzSvc
,
ULONG
*
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
*
AuthIdentity
,
ULONG
*
AuthzSvc
,
unsigned
long
RpcQosVersion
,
RPC_SECURITY_QOS
*
SecurityQOS
);
ULONG
RpcQosVersion
,
RPC_SECURITY_QOS
*
SecurityQOS
);
#define RpcBindingInqAuthInfoEx WINELIB_NAME_AW(RpcBindingInqAuthInfoEx)
#define RpcBindingInqAuthInfoEx WINELIB_NAME_AW(RpcBindingInqAuthInfoEx)
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcBindingInqAuthInfoA
(
RPC_BINDING_HANDLE
Binding
,
RPC_CSTR
*
ServerPrincName
,
unsigned
long
*
AuthnLevel
,
RpcBindingInqAuthInfoA
(
RPC_BINDING_HANDLE
Binding
,
RPC_CSTR
*
ServerPrincName
,
ULONG
*
AuthnLevel
,
unsigned
long
*
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
*
AuthIdentity
,
unsigned
long
*
AuthzSvc
);
ULONG
*
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
*
AuthIdentity
,
ULONG
*
AuthzSvc
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcBindingInqAuthInfoW
(
RPC_BINDING_HANDLE
Binding
,
RPC_WSTR
*
ServerPrincName
,
unsigned
long
*
AuthnLevel
,
RpcBindingInqAuthInfoW
(
RPC_BINDING_HANDLE
Binding
,
RPC_WSTR
*
ServerPrincName
,
ULONG
*
AuthnLevel
,
unsigned
long
*
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
*
AuthIdentity
,
unsigned
long
*
AuthzSvc
);
ULONG
*
AuthnSvc
,
RPC_AUTH_IDENTITY_HANDLE
*
AuthIdentity
,
ULONG
*
AuthzSvc
);
#define RpcBindingInqAuthInfo WINELIB_NAME_AW(RpcBindingInqAuthInfo)
#define RpcBindingInqAuthInfo WINELIB_NAME_AW(RpcBindingInqAuthInfo)
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RPCRTAPI
RPC_STATUS
RPC_ENTRY
...
...
tools/winapi/win32.api
View file @
62662d21
...
@@ -3618,17 +3618,16 @@ DWORD
...
@@ -3618,17 +3618,16 @@ DWORD
HMODULE
HMODULE
HRESULT
HRESULT
HWND
HWND
LONG
RPC_BINDING_HANDLE
RPC_BINDING_HANDLE
RPC_IF_HANDLE
RPC_IF_HANDLE
RPC_STATUS
RPC_STATUS
UINT
UINT
ULONG
ULONG
int
int
long
size_t
size_t
unsigned char
unsigned char
unsigned int
unsigned int
unsigned long
unsigned short
unsigned short
%long --pointer
%long --pointer
...
@@ -3675,11 +3674,11 @@ RPC_MGR_EPV *
...
@@ -3675,11 +3674,11 @@ RPC_MGR_EPV *
RPC_STATUS *
RPC_STATUS *
UUID *
UUID *
UUID_VECTOR *
UUID_VECTOR *
ULONG *
struct IRpcChannelBuffer *
struct IRpcChannelBuffer *
struct IRpcStubBuffer *
struct IRpcStubBuffer *
unsigned char *
unsigned char *
unsigned char **
unsigned char **
unsigned long *
unsigned short *
unsigned short *
unsigned short **
unsigned short **
void *
void *
...
...
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