Functions

src/CustomActions/SystemTools/ComImpl.cpp File Reference

#include "StdAfx.h"
#include "ComImpl.h"

Functions

CA_API UINT __stdcall Win32_GenerateGuidString (MSIHANDLE hInstall)
 Generate a GUID string.
CA_API UINT __stdcall Win32_IsValidGuid (MSIHANDLE hInstall)
 Check whether a GUID is valid.

Function Documentation

CA_API UINT __stdcall Win32_GenerateGuidString ( MSIHANDLE  hInstall)

Generate a GUID string.

Returns:
WIN32_GUID_STRING A GUID in the {GUID} format.
CA_API UINT __stdcall Win32_IsValidGuid ( MSIHANDLE  hInstall)

Check whether a GUID is valid.

Parameters:
WIN32_GUID_STRINGThe value of a GUID to check.
Returns:
WIN32_GUID_VALID 1 if the GUID is valid, 0 otherwise.

Note that valid GUIDs are always included in { }.



© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com