|
OpenVPN
|


Go to the source code of this file.
Functions | |
| UINT | msi_get_string (_In_ MSIHANDLE hInstall, _In_z_ LPCWSTR szName, _Out_ LPWSTR *pszValue) |
| Gets MSI property value. | |
| UINT | msi_get_record_string (_In_ MSIHANDLE hRecord, _In_ unsigned int iField, _Out_ LPWSTR *pszValue) |
| Gets MSI record string value. | |
| UINT | msi_format_record (_In_ MSIHANDLE hInstall, _In_ MSIHANDLE hRecord, _Out_ LPWSTR *pszValue) |
| Formats MSI record. | |
| UINT | msi_format_field (_In_ MSIHANDLE hInstall, _In_ MSIHANDLE hRecord, _In_ unsigned int iField, _Out_ LPWSTR *pszValue) |
| Formats MSI record field. | |
| UINT msi_format_field | ( | _In_ MSIHANDLE | hInstall, |
| _In_ MSIHANDLE | hRecord, | ||
| _In_ unsigned int | iField, | ||
| _Out_ LPWSTR * | pszValue | ||
| ) |
Formats MSI record field.
| hInstall | Handle to the installation. This may be omitted, in which case only the record field parameters are processed and properties are not available for substitution. |
| hRecord | Handle to the field record |
| iField | Field index |
| pszValue | Pointer to string to retrieve formatted value. The string must be released with free() after use. |
Definition at line 205 of file msiex.c.
References M_ERRNO, M_NONFATAL, msg, msi_format_record(), and msi_get_record_string().
Referenced by EvaluateTUNTAPAdapters().
Formats MSI record.
| hInstall | Handle to the installation. This may be omitted, in which case only the record field parameters are processed and properties are not available for substitution. |
| hRecord | Handle to the record to format. The template string must be stored in record field 0 followed by referenced data parameters. |
| pszValue | Pointer to string to retrieve formatted value. The string must be released with free() after use. |
Definition at line 149 of file msiex.c.
References M_ERRNO, M_FATAL, M_NONFATAL, and msg.
Referenced by msi_format_field().
| UINT msi_get_record_string | ( | _In_ MSIHANDLE | hRecord, |
| _In_ unsigned int | iField, | ||
| _Out_ LPWSTR * | pszValue | ||
| ) |
Gets MSI record string value.
| hRecord | Handle to the record |
| iField | Field index |
| pszValue | Pointer to string to retrieve field value. The string must be released with free() after use. |
Definition at line 93 of file msiex.c.
References M_ERRNO, M_FATAL, M_NONFATAL, and msg.
Referenced by EvaluateTUNTAPAdapters(), and msi_format_field().
Gets MSI property value.
| hInstall | Handle to the installation provided to the DLL custom action |
| szName | Property name |
| pszValue | Pointer to string to retrieve property value. The string must be released with free() after use. |
Definition at line 37 of file msiex.c.
References M_ERRNO, M_FATAL, M_NONFATAL, and msg.
Referenced by ProcessDeferredAction().