Skip to content

Commit 89786d7

Browse files
Merge pull request #2112 from RatinCN/patch-20
Update nf-winnt-uint32x32to64.md
2 parents 5dda848 + 26130a2 commit 89786d7

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

sdk-api-src/content/winnt/nf-winnt-uint32x32to64.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,17 @@ api_name:
5050
## -syntax
5151

5252
```cpp
53-
LONGLONG Int32x32To64(
54-
[in] LONG a,
55-
[in] LONG b
53+
ULONGLONG UInt32x32To64(
54+
[in] ULONG a,
55+
[in] ULONG b
5656
);
5757
```
5858

5959
## -returns
6060

61-
Type: **LONGLONG**
61+
Type: **ULONGLONG**
6262

63-
The return value is the signed 64-bit integer result of the multiplication operation.
63+
The return value is the unsigned 64-bit integer result of the multiplication operation.
6464

6565

6666
## -description
@@ -77,16 +77,12 @@ The first unsigned 32-bit integer for the multiplication operation.
7777

7878
The second unsigned 32-bit integer for the multiplication operation.
7979

80-
## -returns
81-
82-
The value of the product.
83-
8480
## -remarks
8581

8682
This function is implemented on all platforms by optimal inline code: a single multiply instruction that returns a 64-bit result.
8783

8884
Please note that the function's return value is a 64-bit value, not a
89-
<a href="/windows/win32/api/winnt/ns-winnt-large_integer-r1">LARGE_INTEGER</a> structure.
85+
<a href="/windows/win32/api/winnt/ns-winnt-ularge_integer-r1">ULARGE_INTEGER</a> structure.
9086

9187
## -see-also
9288

0 commit comments

Comments
 (0)