Go to the source code of this file.
◆ GetVolumePathNameA()
Definition at line 19 of file volumeansi.c.
22{
27
28
30 if (FileNameU ==
NULL)
31 {
33 }
34
35
36 VolumePathName.
Buffer = lpszVolumePathName;
39
40 VolumePathNameU.
Length = 0;
42
45 {
48 }
49
50
52
53 if (Ret)
54 {
56
57
60
62 {
65 }
66
67 else
68 {
70 }
71 }
72
73
75 return Ret;
76}
PVOID NTAPI RtlAllocateHeap(IN PVOID HeapHandle, IN ULONG Flags, IN SIZE_T Size)
BOOLEAN NTAPI RtlFreeHeap(IN PVOID HeapHandle, IN ULONG Flags, IN PVOID HeapBase)
#define ERROR_NOT_ENOUGH_MEMORY
#define NT_SUCCESS(StatCode)
BOOL WINAPI GetVolumePathNameW(IN LPCWSTR lpszFileName, IN LPWSTR lpszVolumePathName, IN DWORD cchBufferLength)
PUNICODE_STRING WINAPI Basep8BitStringToStaticUnicodeString(IN LPCSTR String)
NTSYSAPI NTSTATUS NTAPI RtlUnicodeStringToAnsiString(PANSI_STRING DestinationString, PUNICODE_STRING SourceString, BOOLEAN AllocateDestinationString)
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
DWORD BaseSetLastNTError(IN NTSTATUS Status)
Referenced by test_GetVolumePathNameA(), and test_mounted_folder().