ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

static VOID BuildAdvPropTitle ( IDataObject pdo,
LPTSTR  lpBuffer,
DWORD  dwBufferLen 
) [static]

Definition at line 52 of file advmon.c.

Referenced by DisplayAdvancedSettings().

{
    UINT uiMonitorName, uiDisplayName;
    LPTSTR lpMonitorName, lpDisplayName;
    TCHAR szFormatBuff[32];

    if (!LoadString(hApplet, IDS_ADVANCEDTITLEFMT, szFormatBuff, sizeof(szFormatBuff) / sizeof(szFormatBuff[0])))
    {
        szFormatBuff[0] = _T('\0');
    }

    uiMonitorName = RegisterClipboardFormat(DESK_EXT_MONITORNAME);
    uiDisplayName = RegisterClipboardFormat(DESK_EXT_DISPLAYNAME);

    lpMonitorName = QueryDeskCplString(pdo, uiMonitorName);
    lpDisplayName = QueryDeskCplString(pdo, uiDisplayName);

    _sntprintf(lpBuffer, dwBufferLen, szFormatBuff, lpMonitorName, lpDisplayName);

    if (lpMonitorName != NULL)
        LocalFree((HLOCAL)lpMonitorName);
    if (lpDisplayName != NULL)
        LocalFree((HLOCAL)lpDisplayName);
}

Generated on Sun May 27 2012 05:00:32 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.