Leaked source code of windows server 2003
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.
 
 
 
 
 
 

38 lines
895 B

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1991 - 1998.
//
// File: curarr.cxx
//
// Contents: Cursor Stack Classes
//
// Classes: COccCurStack, and CCurStack
//
// History: 20-Jan-92 AmyA Created
// 05-Feb-92 BartoszM Added CCurArray
// 19-Feb-92 AmyA Added COccCurArray
//
//----------------------------------------------------------------------------
#include <pch.cxx>
#pragma hdrstop
#include <ocursor.hxx>
#include <curstk.hxx>
#include "syncur.hxx"
COccCursor* COccCurStack::QuerySynCursor( WORKID widMax )
{
if (Count() == 0)
return 0;
if (Count() == 1)
return Pop();
return new CSynCursor( *this, widMax );
}