home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
vc98
/
include
/
dssenum.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-25
|
2KB
|
67 lines
//
// Copyright (C) Microsoft Corporation, 1997. All rights reserved.
//
#ifndef DSSENUM_H
#define DSSENUM_H
// DSSENUM.H
// STOCKBPCEVENT enumeration has been removed. The allowable values
// of events fired to the CA Server are those defined as constants
// in the "CAEvent Interface" section of CAODL.H.
// Upper edge purchase actions
typedef enum PURCHASEACTION {
PAGETDETAILS,
PAPURCHASETOVIEW,
PAPURCHASETOTAPE,
PACANCELVIEW,
PACANCELTAPE,
PAPREVIEW
} PURCHASEACTION;
// note that the bit mapping used here allows, for DSS, the direct conversion
// of lower edge status into upper edge status.
typedef enum PURCHASESTATUS {
PSVIEWTAKEN = 0,
PSVIEWCANCELLED,
PSVIEWREPORTED,
PSPREVIEWTAKEN,
PSVIEWAUTHORIZED,
PSVIEWPURCHASED,
PSTAPEPURCHASED,
PSTAPEAUTHORIZED,
PSTAPETAKEN,
PSTAPECANCELLED,
PSTAPEREPORTED,
PSVIEWAVAILABLE,
PSTAPEAVAILABLE,
PSREVIEWAVAILABLE
} PURCHASESTATUS;
// Reason values returned in BPCDetails when purchase actions are
// attempted.
typedef enum PURCHASEREASON {
PRSUCCESS = 0,
PRNOCALLBACK,
PRNOSUBSCRIBER,
PRRATING,
PRSPENDING,
PRCREDIT,
PRWRONGCARD,
PRCARDFULL,
PRBLOCKED,
PRBLACKOUT,
PRTOOLATE,
PRREDUNDANT,
PRPPVFAILURE,
PRBADDATA,
PRCONTENTION
} PURCHASEREASON;
#endif