CXAPOParametersBase Constructor

Creates an instance of the CXAPOParametersBase class.

Syntax

public:
CXAPOParametersBase(
         const XAPO_REGISTRATION_PROPERTIES *pRegistrationProperties,
         BYTE *pParameterBlocks,
         UINT32 uParameterBlockByteSize,
         BOOL fProducer
)  

Parameters

pRegistrationProperties
Type: XAPO_REGISTRATION_PROPERTIES *

Registration properties.

pParameterBlocks
Type: BYTE *

[in, optional] Pointer to three contiguous process parameter blocks used for synchronization.

uParameterBlockByteSize
Type: UINT32 

Size of a parameter block in pParameterBlocks.

fProducer
Type: BOOL 

If TRUE, indicates IXAPO::Process produces data to be returned by IXAPOParameters::GetParameters and disallows calls to IXAPOParameters::SetParameters.

Remarks

All process parameter blocks in pParameterBlocks must be initialized to the same default value before there is a call to the IXAPO::Process, IXAPOParameters::GetParameters, and IXAPOParameters::SetParameters methods. Usually this initialization should be handled in IXAPO::Initialize or in IXAPO::LockForProcess.

The object created by this CXAPOParametersBase will have a reference count of 1.

Requirements

Header: Declared in xapobase.h.

Library: Use xapobase.lib.