Adopt commit 81ff78b from master: Merge pull request #226 from abeels/balb_performancemonitor-narrowing-conversions-drqs-79583269
Adopt commit 81ff78b from master: Merge pull request #226 from abeels/balb_performancemonitor-narrowing-conversions-drqs-79583269

commit 81ff78bf8263b3ae1198bce19edc58868d2d8844
Merge: 66d9927 63604d6
Author: Henry Verschell <hverschell@bloomberg.net>
Date:   Fri Nov 11 13:01:55 2016 -0500

    Merge pull request #226 from abeels/balb_performancemonitor-narrowing-conversions-drqs-79583269

    balb_performancemonitor backport narrowing conversions fixes

commit 63604d63321a65416d7afaa2b9a7c39438a241e8
Author: Alexander Beels <abeels@bloomberg.net>
Date:   Mon Mar 14 14:58:09 2016 -0400

    Backport changes from bde-classic PR 43

    Author: Masud Rahman <mrahman15@bloomberg.net>  2015-12-28 17:31:25

        baea_performancemonitor: narrowing conversions

        C++11 disallows narrowing conversions in initializer lists.
        'baea_performancemonitor' uses 'win32' APIs that require 'DWORD's, which
        correspond to 'unsigned int' but attempt to pass 'int' to them.  Since
        'unsigned int' cannot hold all 'int's, this causes the program to be
        ill-formed.

        This commit changes the component to use 'unsigned int' where appropriate.  One
        issue arises in 'findInstanceIndexFromPid' where an 'int' is being returned
        where '-1' is used to signal an error, but other values are the expected return
        value.  This commit changes that method to instead explicitly load the return
        value into an out parameter, and not overload it with the return value since
        they two types do not have overlapping ranges.

        This commit also uses 'ULARGE_INTEGER' for extracting an 'int64' from a
        'FileTime' value instead of a 'LARGE_INTEGER' which additionally causes
        narrowing conversion issues.

che2/bde,bloomberg/bde,apaprocki/bde,dharesign/bde,apaprocki/bde,apaprocki/bde,bloomberg/bde,bloomberg/bde,apaprocki/bde,dharesign/bde,che2/bde,dharesign/bde,bloomberg/bde,bloomberg/bde,che2/bde,che2/bde,apaprocki/bde,dharesign/bde