VirtualBox

Ignore:
Timestamp:
Sep 19, 2011 1:21:31 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74086
Message:

VBoxInstallHelper.cpp,++: Clean up TCHAR/WCHAR mess - just use WCHAR, forget TCHAR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/InstallHelper/VBoxCommon.h

    r32112 r38791  
    55
    66/*
    7  * Copyright (C) 2008-2010 Oracle Corporation
     7 * Copyright (C) 2008-2011 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2020
    2121#if (_MSC_VER < 1400) /* Provide _stprintf_s to VC < 8.0. */
    22 int _stprintf_s(TCHAR *buffer, size_t cbBuffer, const TCHAR *format, ...);
     22int swprintf_s(WCHAR *buffer, size_t cbBuffer, const WCHAR *format, ...);
    2323#endif
    2424
    25 UINT VBoxGetProperty(MSIHANDLE a_hModule, TCHAR *a_pszName, TCHAR *a_pValue, DWORD a_dwSize);
    26 UINT VBoxSetProperty(MSIHANDLE a_hModule, TCHAR *a_pszName, TCHAR *a_pValue);
     25UINT VBoxGetProperty(MSIHANDLE a_hModule, WCHAR *a_pwszName, WCHAR *a_pwszValue, DWORD a_dwSize);
     26UINT VBoxSetProperty(MSIHANDLE a_hModule, WCHAR *a_pwszName, WCHAR *a_pwszValue);
    2727
    2828#endif /* !___VBoxInstallHelper_Common_h */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette