Changeset 2361 for trunk/src/kernel32/disk.cpp
- Timestamp:
- Jan 8, 2000, 5:48:10 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/disk.cpp
r1708 r2361 1 /* $Id: disk.cpp,v 1. 7 1999-11-11 19:10:09 sandervlExp $ */1 /* $Id: disk.cpp,v 1.8 2000-01-08 04:48:10 phaller Exp $ */ 2 2 3 3 /* … … 68 68 return(rc); 69 69 } 70 71 72 /***************************************************************************** 73 * Name : GetDiskFreeSpaceEx 74 * Purpose : 75 * Parameters: lpDirectoryName [in] Pointer to a null-terminated string that 76 * specifies a directory on the disk of interest. 77 * This string can be a UNC name. If this 78 * parameter is a UNC name, you must follow it 79 * with an additional backslash. For example, you 80 * would specify \\MyServer\MyShare as 81 * \\MyServer\MyShare\. 82 * If lpDirectoryName is NULL, the 83 * GetDiskFreeSpaceEx function obtains 84 * information about the object store. 85 * Note that lpDirectoryName does not have to 86 * specify the root directory on a disk. The 87 * function accepts any directory on the disk. 88 * 89 * lpFreeBytesAvailableToCaller 90 * [out] Pointer to a variable to receive the 91 * total number of free bytes on the disk that 92 * are available to the user associated with the 93 * calling thread. 94 * lpTotalNumberOfBytes 95 * [out] Pointer to a variable to receive the 96 * total number of bytes on the disk that are 97 * available to the user associated with the 98 * calling thread. 99 * lpTotalNumberOfFreeBytes 100 * [out] Pointer to a variable to receive the 101 * total number of free bytes on the disk. 102 * This parameter can be NULL. 103 * Variables : 104 * Result : Nonzero indicates success. Zero indicates failure. To get 105 * extended error information, call GetLastError. 106 * Remark : Note that the values obtained by this function are of type 107 * ULARGE_INTEGER. Be careful not to truncate these values to 108 * 32 bits. 109 * Status : 110 * 111 * Author : Patrick Haller [Fri, 2000/01/08 23:44] 112 *****************************************************************************/ 113 114 ODINFUNCTION4(BOOL,GetDiskFreeSpaceExA, 115 LPCSTR, lpDirectoryName, 116 PULARGE_INTEGER, lpFreeBytesAvailableToCaller, 117 PULARGE_INTEGER, lpTotalNumberOfBytes, 118 PULARGE_INTEGER, lpTotalNumberOfFreeBytes ) 119 { 120 dprintf(("not yet implemented")); 121 122 return TRUE; 123 } 124 125 126 ODINFUNCTION4(BOOL,GetDiskFreeSpaceExW, 127 LPCWSTR, lpDirectoryName, 128 PULARGE_INTEGER, lpFreeBytesAvailableToCaller, 129 PULARGE_INTEGER, lpTotalNumberOfBytes, 130 PULARGE_INTEGER, lpTotalNumberOfFreeBytes ) 131 { 132 dprintf(("not yet implemented")); 133 134 return TRUE; 135 } 136 137 70 138 //****************************************************************************** 71 139 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.