# Name

VixDiskLib_GetErrorText

# Description

    char*
    VixDiskLib_GetErrorText(VixError vixErrorCode, const char* locale);

This function returns the description for a VixDiskLib error code. The returned value must be unallocated using VixDiskLib_FreeErrorText().

# Parameters

vixErrorCode
  Error code.
locale
  Unused, should be set to NULL in early releases.

# Return Value

The descriptive text for the error code. NULL if no message is found.

# Example

       char* msg = VixDiskLib_GetErrorText(errCode, NULL);
       cout <<  msg << endl;
       VixDiskLib_FreeErrorText(msg);

Copyright (C) 2007-2018 VMware, Inc. All rights reserved.