You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
46 lines
1.3 KiB
/*****************************************************************************
|
|
*
|
|
* (C) COPYRIGHT MICROSOFT CORPORATION, 1999 - 2000
|
|
*
|
|
* TITLE: wiavidd.cpp
|
|
*
|
|
* VERSION: 1.0
|
|
*
|
|
* AUTHOR: RickTu
|
|
*
|
|
* DATE: 10/14/99
|
|
*
|
|
* DESCRIPTION: Main entry for video common dialog
|
|
*
|
|
*****************************************************************************/
|
|
|
|
#include <precomp.h>
|
|
#pragma hdrstop
|
|
#include "wiavidd.h"
|
|
|
|
/*****************************************************************************
|
|
|
|
DeviceDialog
|
|
|
|
Main entry point for outside callers to our dialog.
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
HRESULT WINAPI VideoDeviceDialog( PDEVICEDIALOGDATA pDialogDeviceData )
|
|
{
|
|
HRESULT hr = E_FAIL;
|
|
if (pDialogDeviceData && pDialogDeviceData->cbSize == sizeof(DEVICEDIALOGDATA))
|
|
{
|
|
InitCommonControls();
|
|
hr = (HRESULT)DialogBoxParam( g_hInstance,
|
|
MAKEINTRESOURCE(IDD_CAPTURE_DIALOG),
|
|
pDialogDeviceData->hwndParent,
|
|
CVideoCaptureDialog::DialogProc,
|
|
(LPARAM)pDialogDeviceData
|
|
);
|
|
}
|
|
return hr;
|
|
}
|
|
|
|
|