Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
66c05a45
Commit
66c05a45
authored
Mar 09, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Export I_UuidCreate().
parent
613a6598
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
2 deletions
+23
-2
rpcrt4.spec
dlls/rpcrt4/rpcrt4.spec
+1
-1
rpcrt4_main.c
dlls/rpcrt4/rpcrt4_main.c
+9
-0
rpc.c
dlls/rpcrt4/tests/rpc.c
+13
-1
No files found.
dlls/rpcrt4/rpcrt4.spec
View file @
66c05a45
...
...
@@ -93,7 +93,7 @@
@ stub I_RpcTransServerNewConnection
@ stub I_RpcTurnOnEEInfoPropagation # wxp
@ stdcall I_RpcWindowProc(ptr long long long) # win9x
@ st
ub I_UuidCreate
@ st
dcall I_UuidCreate(ptr)
@ stub MIDL_wchar_strcpy
@ stub MIDL_wchar_strlen
@ stdcall MesBufferHandleReset(ptr long long ptr long ptr)
...
...
dlls/rpcrt4/rpcrt4_main.c
View file @
66c05a45
...
...
@@ -456,6 +456,15 @@ RPC_STATUS WINAPI UuidCreateSequential(UUID *Uuid)
return
status
;
}
/*************************************************************************
* I_UuidCreate [RPCRT4.@]
*
* See UuidCreateSequential()
*/
RPC_STATUS
WINAPI
I_UuidCreate
(
UUID
*
Uuid
)
{
return
UuidCreateSequential
(
Uuid
);
}
/*************************************************************************
* UuidHash [RPCRT4.@]
...
...
dlls/rpcrt4/tests/rpc.c
View file @
66c05a45
...
...
@@ -791,13 +791,17 @@ static void test_UuidCreateSequential(void)
UUID
guid1
;
BYTE
version
;
RPC_STATUS
(
WINAPI
*
pUuidCreateSequential
)(
UUID
*
)
=
(
void
*
)
GetProcAddress
(
GetModuleHandleA
(
"rpcrt4.dll"
),
"UuidCreateSequential"
);
RPC_STATUS
(
WINAPI
*
pI_UuidCreate
)(
UUID
*
)
=
(
void
*
)
GetProcAddress
(
GetModuleHandleA
(
"rpcrt4.dll"
),
"I_UuidCreate"
);
RPC_STATUS
ret
;
if
(
!
pUuidCreateSequential
)
{
skip
(
"UuidCreateSequential not exported
\n
"
);
win_
skip
(
"UuidCreateSequential not exported
\n
"
);
return
;
}
ok
(
pI_UuidCreate
!=
pUuidCreateSequential
,
"got %p, %p
\n
"
,
pI_UuidCreate
,
pUuidCreateSequential
);
ret
=
pUuidCreateSequential
(
&
guid1
);
ok
(
!
ret
||
ret
==
RPC_S_UUID_LOCAL_ONLY
,
"expected RPC_S_OK or RPC_S_UUID_LOCAL_ONLY, got %08x
\n
"
,
ret
);
...
...
@@ -836,6 +840,14 @@ static void test_UuidCreateSequential(void)
ok
(
!
memcmp
(
guid1
.
Data4
,
guid2
.
Data4
,
sizeof
(
guid2
.
Data4
)),
"unexpected value in MAC address: %s
\n
"
,
wine_dbgstr_guid
(
&
guid2
));
/* I_UuidCreate does exactly the same */
pI_UuidCreate
(
&
guid2
);
version
=
(
guid2
.
Data3
&
0xf000
)
>>
12
;
ok
(
version
==
1
,
"unexpected version %d
\n
"
,
version
);
ok
(
!
memcmp
(
guid1
.
Data4
,
guid2
.
Data4
,
sizeof
(
guid2
.
Data4
)),
"unexpected value in MAC address: %s
\n
"
,
wine_dbgstr_guid
(
&
guid2
));
}
}
...
...
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