DGetSisterDisplayNumberMM
(Windows 2000, multi-monitor mode only)
Purpose Use
Windows 2000 display number of the sister display.
Syntax
DWORD FAR PASCAL DGetSisterDisplayNumberMM
Return value Zero (0) if successful; otherwise, an error message.
Example This example returns the Windows 2000 display number of
the sister display.
#include <mdpcint.h>
{
HDC
UWORD
DWORD
UWORD
dwRetCode = DGetSisterDisplayNumberMM
return dwRetCode;
}
See also
DGetSisterDisplayRegPathMM
DGetSisterDisplayNumberMM
(hdc, nDisplay, lpDisplayNum)
Parameter Type
HDC
UWORD
UWORD FAR
hdc;
nDisplay = (UWORD) Win2000DisplayNum |
WIN2K_DISPLAY_NUMBER;
dwRetCode;
nSisterDisplay;
(NULL, nDisplay, &nSisterDisplay);
DGetSisterDisplayNumberMM | 43
to return the
Name
Description
Handle to the display-
hdc
device context
Target display
nDisplay
On successful return,
*DisplayNum
contains the Windows
2000 display number of
the sister display