Changeset 82833 in vbox for trunk/src/VBox
- Timestamp:
- Jan 22, 2020 4:22:59 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/nt/pathint-nt.cpp
r78200 r82833 572 572 * @param cwcExtra How much extra space is needed. 573 573 */ 574 static int rtNtPathFromHandle(struct _UNICODE_STRING *pNtName, HANDLE hHandle, size_t cwcExtra)574 RTDECL(int) RTNtPathFromHandle(struct _UNICODE_STRING *pNtName, HANDLE hHandle, size_t cwcExtra) 575 575 { 576 576 /* … … 634 634 { 635 635 RTUtf16Free(pNtName->Buffer); 636 rc = rtNtPathFromHandle(pNtName, *phRootDir, pNtName->Length / sizeof(RTUTF16) + 2);636 rc = RTNtPathFromHandle(pNtName, *phRootDir, pNtName->Length / sizeof(RTUTF16) + 2); 637 637 if (RT_SUCCESS(rc)) 638 638 { … … 646 646 UNICODE_STRING RootDir; 647 647 size_t const cwcAppend = pNtName->Length / sizeof(RTUTF16); 648 rc = rtNtPathFromHandle(&RootDir, *phRootDir, cwcAppend + 2);648 rc = RTNtPathFromHandle(&RootDir, *phRootDir, cwcAppend + 2); 649 649 if (RT_SUCCESS(rc)) 650 650 { … … 802 802 { 803 803 RTUtf16Free(pwszDst); 804 rc = rtNtPathFromHandle(pNtName, *phRootDir, cwcMax + 2);804 rc = RTNtPathFromHandle(pNtName, *phRootDir, cwcMax + 2); 805 805 if (RT_FAILURE(rc)) 806 806 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.