|LabWindows/CVI 2010 Help|
|LabWindows/CVI 2012 Help|
|LabWindows/CVI 2013 Help|
|LabWindows/CVI 2015 Help|
|LabWindows/CVI 2017 Help|
|LabWindows/CVI 2019 Help||LabWindows/CVI 2020 Help|
int CNVDeleteFolder (const char *parentPath, const char *folderName);
Deletes the network variable folder you specify.
|parentPath||const char *||The parent's machine-relative path. You can specify a process name or a process name followed by one or more folder names delimited with the backslash path separator. Do not include a trailing backslash in the path.
|folderName||const char *||The name of the network variable folder.
|status||int||Return value indicating whether the function was successful. One indicates that a next item was found, zero indicates that a next item was not found, and a negative number indicates that an error occurred.
You can call CNVGetErrorDescription to obtain a string that describes the error.
Library: Network Variable Library
Include file: cvinetv.h
LabWindows/CVI compatibility: LabWindows/CVI 2012 and later
Refer to networkvariable\NVConfig\nvconfig.cws for an example of using the CNVDeleteFolder function.