Freigeben über


General Utility Functions

The general utility functions are used by applications and resource DLLs to perform common tasks such as duplicating strings and validating paths.

In this section

ResUtilCreateDirectoryTree

Creates every directory specified in a path, skipping directories that already exist. The PRESUTIL_CREATE_DIRECTORY_TREE type defines a pointer to this function.

ResUtilDupString

Duplicates a null-terminated Unicode string.

ResUtilExpandEnvironmentStrings

Expands strings containing unexpanded references to environment variables. The PRESUTIL_EXPAND_ENVIRONMENT_STRINGS type defines a pointer to this function.

ResUtilGetPropertyFormats

Returns a property format list describing the format of a specified set of properties. The PRESUTIL_GET_PROPERTY_FORMATS type defines a pointer to this function.

ResUtilInitializeResourceStatus

Initializes a RESOURCE_STATUS structure.

ResUtilIsPathValid

Checks whether a path is syntactically valid.

Failover Cluster Utility Functions