home *** CD-ROM | disk | FTP | other *** search
- //==========================================================================;
- //
- // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
- // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
- // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
- // PURPOSE.
- //
- // Copyright (c) 1992 - 1996 Microsoft Corporation. All Rights Reserved.
- //
- //--------------------------------------------------------------------------;
- //
- // ballprop.cpp
- //
-
- #include <streams.h>
- #include <olectl.h>
- #include <memory.h>
-
- #include "resource.h"
- #include "balluids.h"
- #include "ball.h"
- #include "fball.h"
- #include "ballprop.h"
-
- // *
- // * CBallProperties
- // *
-
-
- //
- // CreateInstance
- //
- CUnknown *CBallProperties::CreateInstance(LPUNKNOWN lpunk, HRESULT *phr) {
-
- CUnknown *punk = new CBallProperties(lpunk, phr);
- if (punk == NULL) {
- *phr = E_OUTOFMEMORY;
- }
-
- return punk;
- }
-
- //
- // CBallProperties::Constructor
- //
- // initialise a CBallProperties object.
- CBallProperties::CBallProperties(LPUNKNOWN pUnk, HRESULT *phr)
- : CBasePropertyPage(NAME("Ball Property Page"),pUnk,phr,IDD_BALLPROP,
- IDS_TITLE)
- {
- }
-
-
-