Skip to content

Commit e62e046

Browse files
committed
Fix comment formats.
1 parent 4db810e commit e62e046

2 files changed

Lines changed: 49 additions & 49 deletions

File tree

‎Mile.Helpers/Mile.Helpers.Base.h‎

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* @return If the function succeeds, the return value is a pointer to the
2424
* allocated memory block. If the function fails, the return value is
2525
* nullptr.
26-
*/
26+
*/
2727
EXTERN_C LPVOID WINAPI MileAllocateMemory(
2828
_In_ SIZE_T Size);
2929

@@ -42,7 +42,7 @@ EXTERN_C LPVOID WINAPI MileAllocateMemory(
4242
* @return If the function succeeds, the return value is a pointer to the
4343
* reallocated memory block. If the function fails, the return value is
4444
* nullptr.
45-
*/
45+
*/
4646
EXTERN_C LPVOID WINAPI MileReallocateMemory(
4747
_In_ PVOID Block,
4848
_In_ SIZE_T Size);
@@ -56,7 +56,7 @@ EXTERN_C LPVOID WINAPI MileReallocateMemory(
5656
* @return If the function succeeds, the return value is nonzero. If the
5757
* function fails, the return value is zero. An application can call
5858
* GetLastError for extended error information.
59-
*/
59+
*/
6060
EXTERN_C BOOL WINAPI MileFreeMemory(
6161
_In_ LPVOID Block);
6262

@@ -71,7 +71,7 @@ EXTERN_C BOOL WINAPI MileFreeMemory(
7171
* dwOSVersionInfoSize member of the structure to the
7272
* size in bytes of the structure that is used.
7373
* @return TRUE if the function succeeds; otherwise, FALSE.
74-
*/
74+
*/
7575
EXTERN_C BOOL WINAPI MileGetWindowsVersion(
7676
_Inout_ LPOSVERSIONINFOW VersionInformation);
7777

@@ -83,7 +83,7 @@ EXTERN_C BOOL WINAPI MileGetWindowsVersion(
8383
* @param Build The build number of the operating system.
8484
* @return TRUE if the specified version matches, or is greater than, the
8585
* version of the current Windows operating system; otherwise, FALSE.
86-
*/
86+
*/
8787
EXTERN_C BOOL WINAPI MileIsWindowsVersionAtLeast(
8888
_In_ DWORD Major,
8989
_In_ DWORD Minor,
@@ -93,7 +93,7 @@ EXTERN_C BOOL WINAPI MileIsWindowsVersionAtLeast(
9393
* @brief Retrieves the number of milliseconds that have elapsed since the
9494
* system was started.
9595
* @return The number of milliseconds.
96-
*/
96+
*/
9797
EXTERN_C ULONGLONG WINAPI MileGetTickCount();
9898

9999
/**
@@ -113,7 +113,7 @@ EXTERN_C ULONGLONG WINAPI MileGetTickCount();
113113
* thread. If the function fails, the return value is nullptr. To get
114114
* extended error information, call GetLastError.
115115
* @remark For more information, see CreateThread.
116-
*/
116+
*/
117117
EXTERN_C HANDLE WINAPI MileCreateThread(
118118
_In_opt_ LPSECURITY_ATTRIBUTES lpThreadAttributes,
119119
_In_ SIZE_T dwStackSize,
@@ -125,7 +125,7 @@ EXTERN_C HANDLE WINAPI MileCreateThread(
125125
/**
126126
* @brief Retrieves the number of logical processors in the current group.
127127
* @return The number of logical processors in the current group.
128-
*/
128+
*/
129129
EXTERN_C DWORD WINAPI MileGetNumberOfHardwareThreads();
130130

131131
/**
@@ -157,14 +157,14 @@ EXTERN_C DWORD WINAPI MileGetNumberOfHardwareThreads();
157157
* @return If the function succeeds, the return value is a handle to the
158158
* module. If the function fails, the return value is nullptr. To get
159159
* extended error information, call GetLastError.
160-
*/
160+
*/
161161
EXTERN_C HMODULE WINAPI MileLoadLibraryFromSystem32(
162162
_In_ LPCWSTR lpLibFileName);
163163

164164
/**
165165
* @brief Indicates if the current process is elevated.
166166
* @return TRUE if the current process is elevated; otherwise, FALSE.
167-
*/
167+
*/
168168
EXTERN_C BOOL WINAPI MileIsCurrentProcessElevated();
169169

170170
/**
@@ -231,7 +231,7 @@ EXTERN_C BOOL WINAPI MileStopServiceByHandle(
231231
* @return If the function succeeds, the return value is TRUE. If the function
232232
* fails, the return value is FALSE. To get extended error information,
233233
* call GetLastError.
234-
*/
234+
*/
235235
EXTERN_C BOOL WINAPI MileStartService(
236236
_In_ LPCWSTR ServiceName,
237237
_Out_ LPSERVICE_STATUS_PROCESS ServiceStatus);
@@ -262,7 +262,7 @@ EXTERN_C BOOL WINAPI MileStopService(
262262
/**
263263
* @brief The information about a found file or directory queried from the
264264
* file enumerator.
265-
*/
265+
*/
266266
typedef struct _MILE_FILE_ENUMERATE_INFORMATION
267267
{
268268
FILETIME CreationTime;
@@ -285,7 +285,7 @@ typedef struct _MILE_FILE_ENUMERATE_INFORMATION
285285
* @return If the return value is non-zero, the file enumerate will be
286286
* continued. If the return value is zero, the file enumerate
287287
* will be terminated.
288-
*/
288+
*/
289289
typedef BOOL(WINAPI* MILE_ENUMERATE_FILE_CALLBACK_TYPE)(
290290
_In_ PMILE_FILE_ENUMERATE_INFORMATION Information,
291291
_In_opt_ LPVOID Context);
@@ -301,7 +301,7 @@ typedef BOOL(WINAPI* MILE_ENUMERATE_FILE_CALLBACK_TYPE)(
301301
* @return If the function succeeds, the return value is TRUE. If the function
302302
* fails, the return value is FALSE. To get extended error information,
303303
* call GetLastError.
304-
*/
304+
*/
305305
EXTERN_C BOOL WINAPI MileEnumerateFileByHandle(
306306
_In_ HANDLE FileHandle,
307307
_In_ MILE_ENUMERATE_FILE_CALLBACK_TYPE Callback,
@@ -345,7 +345,7 @@ EXTERN_C BOOL WINAPI MileEnumerateFileByHandle(
345345
* function fails, the return value is zero. To get extended error
346346
* information, call GetLastError.
347347
* @remark For more information, see DeviceIoControl.
348-
*/
348+
*/
349349
EXTERN_C BOOL WINAPI MileDeviceIoControl(
350350
_In_ HANDLE DeviceHandle,
351351
_In_ DWORD IoControlCode,
@@ -366,7 +366,7 @@ EXTERN_C BOOL WINAPI MileDeviceIoControl(
366366
* @return If the function succeeds, the return value is nonzero. If the
367367
* function fails, the return value is zero. To get extended error
368368
* information, call GetLastError.
369-
*/
369+
*/
370370
EXTERN_C BOOL WINAPI MileGetFileAttributesByHandle(
371371
_In_ HANDLE FileHandle,
372372
_Out_ PDWORD FileAttributes);
@@ -385,7 +385,7 @@ EXTERN_C BOOL WINAPI MileGetFileAttributesByHandle(
385385
* @return If the function succeeds, the return value is nonzero. If the
386386
* function fails, the return value is zero. To get extended error
387387
* information, call GetLastError.
388-
*/
388+
*/
389389
EXTERN_C BOOL WINAPI MileSetFileAttributesByHandle(
390390
_In_ HANDLE FileHandle,
391391
_In_ DWORD FileAttributes);
@@ -398,7 +398,7 @@ EXTERN_C BOOL WINAPI MileSetFileAttributesByHandle(
398398
* @return If the function succeeds, the return value is nonzero. If the
399399
* function fails, the return value is zero. To get extended error
400400
* information, call GetLastError.
401-
*/
401+
*/
402402
EXTERN_C BOOL WINAPI MileGetFileHardlinkCountByHandle(
403403
_In_ HANDLE FileHandle,
404404
_Out_ PDWORD HardlinkCount);
@@ -411,7 +411,7 @@ EXTERN_C BOOL WINAPI MileGetFileHardlinkCountByHandle(
411411
* @return If the function succeeds, the return value is nonzero. If the
412412
* function fails, the return value is zero. To get extended error
413413
* information, call GetLastError.
414-
*/
414+
*/
415415
EXTERN_C BOOL WINAPI MileDeleteFileByHandle(
416416
_In_ HANDLE FileHandle);
417417

@@ -423,7 +423,7 @@ EXTERN_C BOOL WINAPI MileDeleteFileByHandle(
423423
* @return If the function succeeds, the return value is nonzero. If the
424424
* function fails, the return value is zero. To get extended error
425425
* information, call GetLastError.
426-
*/
426+
*/
427427
EXTERN_C BOOL WINAPI MileDeleteFileIgnoreReadonlyAttributeByHandle(
428428
_In_ HANDLE FileHandle);
429429

@@ -436,7 +436,7 @@ EXTERN_C BOOL WINAPI MileDeleteFileIgnoreReadonlyAttributeByHandle(
436436
* @return If the function succeeds, the return value is nonzero. If the
437437
* function fails, the return value is zero. To get extended error
438438
* information, call GetLastError.
439-
*/
439+
*/
440440
EXTERN_C BOOL WINAPI MileGetFileSizeByHandle(
441441
_In_ HANDLE FileHandle,
442442
_Out_ PULONGLONG FileSize);
@@ -450,7 +450,7 @@ EXTERN_C BOOL WINAPI MileGetFileSizeByHandle(
450450
* @return If the function succeeds, the return value is nonzero. If the
451451
* function fails, the return value is zero. To get extended error
452452
* information, call GetLastError.
453-
*/
453+
*/
454454
EXTERN_C BOOL WINAPI MileGetFileAllocationSizeByHandle(
455455
_In_ HANDLE FileHandle,
456456
_Out_ PULONGLONG AllocationSize);
@@ -469,7 +469,7 @@ EXTERN_C BOOL WINAPI MileGetFileAllocationSizeByHandle(
469469
* @return If the function succeeds, the return value is nonzero. If the
470470
* function fails, the return value is zero. To get extended error
471471
* information, call GetLastError.
472-
*/
472+
*/
473473
EXTERN_C BOOL WINAPI MileGetCompressedFileSizeByHandle(
474474
_In_ HANDLE FileHandle,
475475
_Out_ PULONGLONG CompressedFileSize);
@@ -491,7 +491,7 @@ EXTERN_C BOOL WINAPI MileGetCompressedFileSizeByHandle(
491491
* @return If the function succeeds, the return value is nonzero. If the
492492
* function fails, the return value is zero. To get extended error
493493
* information, call GetLastError.
494-
*/
494+
*/
495495
EXTERN_C BOOL WINAPI MileReadFile(
496496
_In_ HANDLE FileHandle,
497497
_Out_opt_ LPVOID Buffer,
@@ -518,7 +518,7 @@ EXTERN_C BOOL WINAPI MileReadFile(
518518
* @return If the function succeeds, the return value is nonzero. If the
519519
* function fails, the return value is zero. To get extended error
520520
* information, call GetLastError.
521-
*/
521+
*/
522522
EXTERN_C BOOL WINAPI MileWriteFile(
523523
_In_ HANDLE FileHandle,
524524
_In_opt_ LPCVOID Buffer,
@@ -544,7 +544,7 @@ EXTERN_C BOOL WINAPI MileWriteFile(
544544
* @return If the function succeeds, the return value is nonzero. If the
545545
* function fails, the return value is zero. To get extended error
546546
* information, call GetLastError.
547-
*/
547+
*/
548548
EXTERN_C BOOL WINAPI MileGetNtfsCompressionAttributeByHandle(
549549
_In_ HANDLE FileHandle,
550550
_Out_ PUSHORT CompressionAlgorithm);
@@ -568,7 +568,7 @@ EXTERN_C BOOL WINAPI MileGetNtfsCompressionAttributeByHandle(
568568
* @return If the function succeeds, the return value is nonzero. If the
569569
* function fails, the return value is zero. To get extended error
570570
* information, call GetLastError.
571-
*/
571+
*/
572572
EXTERN_C BOOL WINAPI MileSetNtfsCompressionAttributeByHandle(
573573
_In_ HANDLE FileHandle,
574574
_In_ USHORT CompressionAlgorithm);
@@ -604,7 +604,7 @@ EXTERN_C BOOL WINAPI MileSetNtfsCompressionAttributeByHandle(
604604
* @return If the function succeeds, the return value is nonzero. If the
605605
* function fails, the return value is zero. To get extended error
606606
* information, call GetLastError.
607-
*/
607+
*/
608608
EXTERN_C BOOL WINAPI MileGetWofFileCompressionAttributeByHandle(
609609
_In_ HANDLE FileHandle,
610610
_Out_ PDWORD CompressionAlgorithm);
@@ -640,7 +640,7 @@ EXTERN_C BOOL WINAPI MileGetWofFileCompressionAttributeByHandle(
640640
* @return If the function succeeds, the return value is nonzero. If the
641641
* function fails, the return value is zero. To get extended error
642642
* information, call GetLastError.
643-
*/
643+
*/
644644
EXTERN_C BOOL WINAPI MileSetWofFileCompressionAttributeByHandle(
645645
_In_ HANDLE FileHandle,
646646
_In_ DWORD CompressionAlgorithm);
@@ -653,13 +653,13 @@ EXTERN_C BOOL WINAPI MileSetWofFileCompressionAttributeByHandle(
653653
* @return If the function succeeds, the return value is nonzero. If the
654654
* function fails, the return value is zero. To get extended error
655655
* information, call GetLastError.
656-
*/
656+
*/
657657
EXTERN_C BOOL WINAPI MileRemoveWofFileCompressionAttributeByHandle(
658658
_In_ HANDLE FileHandle);
659659

660660
/**
661661
* @brief The resource info struct.
662-
*/
662+
*/
663663
typedef struct _MILE_RESOURCE_INFO
664664
{
665665
DWORD Size;
@@ -688,7 +688,7 @@ typedef struct _MILE_RESOURCE_INFO
688688
* @return If the function succeeds, the return value is TRUE. If the function
689689
* fails, the return value is FALSE. To get extended error information,
690690
* call GetLastError.
691-
*/
691+
*/
692692
EXTERN_C BOOL WINAPI MileLoadResource(
693693
_Out_ PMILE_RESOURCE_INFO ResourceInfo,
694694
_In_opt_ HMODULE ModuleHandle,
@@ -729,7 +729,7 @@ EXTERN_C BOOL WINAPI MileLoadResource(
729729
* value is INVALID_HANDLE_VALUE. To get extended error information,
730730
* call GetLastError.
731731
* @remark For more information, see CreateFileW.
732-
*/
732+
*/
733733
EXTERN_C HANDLE WINAPI MileCreateFile(
734734
_In_ LPCWSTR FileName,
735735
_In_ DWORD DesiredAccess,
@@ -746,7 +746,7 @@ EXTERN_C HANDLE WINAPI MileCreateFile(
746746
* @return If the function succeeds, the return value is nonzero. If the
747747
* function fails, the return value is zero. To get extended error
748748
* information, call GetLastError.
749-
*/
749+
*/
750750
EXTERN_C BOOL WINAPI MileDeleteFileIgnoreReadonlyAttribute(
751751
_In_ LPCWSTR FileName);
752752

@@ -756,7 +756,7 @@ EXTERN_C BOOL WINAPI MileDeleteFileIgnoreReadonlyAttribute(
756756
* @param Name The name of the file or directory for testing.
757757
* @return Nonzero if the found file has the name "." or "..", which indicates
758758
* that the found file is actually a directory. Otherwise zero.
759-
*/
759+
*/
760760
EXTERN_C BOOL WINAPI MileIsDotsName(
761761
_In_ LPCWSTR Name);
762762

@@ -768,7 +768,7 @@ EXTERN_C BOOL WINAPI MileIsDotsName(
768768
* @return If the function succeeds, the return value is nonzero. If the
769769
* function fails, the return value is zero. To get extended error
770770
* information, call GetLastError.
771-
*/
771+
*/
772772
EXTERN_C BOOL WINAPI MileCreateDirectory(
773773
_In_ LPCWSTR PathName);
774774

0 commit comments

Comments
 (0)