SetCommitMode
- Updated2023-02-21
- 1 minute(s) read
int SetCommitMode (int commit);
Purpose
Use SetCommitMode to change whether CloseFile commits the file to disk before returning.
![]() |
Caution The Windows SDK also contains a function with the same name. Include windows.h before including formatio.h to ensure that there are no compilation errors as a result of this naming conflict. Define the SDK_CONFLICT_PRIORITYSDK_CONFLICT_PRIORITY macro to force LabWindows/CVI to use the Windows SDK implementation of this function. |
Parameters
Input | ||||||
Name | Type | Description | ||||
commit | int | Specifies whether CloseFile commits the file to disk.
|
Return Value
Name | Type | Description | ||||
result | int | Indicates whether the function succeeded.
|
Additional Information
Library: Formatting and I/O Library
Include file: formatio.h
LabWindows/CVI compatibility: LabWindows/CVI 5.5 and later