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.
27 lines
808 B
27 lines
808 B
#include "precomp.h"
|
|
#pragma hdrstop
|
|
#include <windows.h>
|
|
#include <commctrl.h>
|
|
#include <objbase.h>
|
|
#include "wiadebug.h"
|
|
#include "wiadevd.h"
|
|
#include "camdlg.rh"
|
|
#include "camdlg.h"
|
|
#include "pviewids.h"
|
|
#include "wiatextc.h"
|
|
#include "wiacamd.h"
|
|
|
|
HRESULT WINAPI CameraDeviceDialog( PDEVICEDIALOGDATA pDialogDeviceData )
|
|
{
|
|
HRESULT hr = E_FAIL;
|
|
if (pDialogDeviceData && pDialogDeviceData->cbSize == sizeof(DEVICEDIALOGDATA))
|
|
{
|
|
InitCommonControls();
|
|
RegisterWiaPreviewClasses( g_hInstance );
|
|
CWiaTextControl::RegisterClass(g_hInstance);
|
|
hr = (HRESULT)DialogBoxParam( g_hInstance, MAKEINTRESOURCE(IDD_CAMERA), pDialogDeviceData->hwndParent, CCameraAcquireDialog::DialogProc, (LPARAM)pDialogDeviceData );
|
|
}
|
|
return hr;
|
|
}
|
|
|
|
|