LoggerGetAcquiredMode


Function

Get the acquired mode.

Function

Ret = LoggerGetAcquiredMode ( AppId , Mode )

Parameters

AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ] 

Specify Application ID retrieved by LoggerOpenApplication.

Mode [ VB.NET: UShort ] [ C++: unsigned short * ] [ C#: out ushort ]

Specify  the address that stores the mode of data retrieval.

Return Value

Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]

Definition

Return code

[Dec]

Description

LOGGER_ERR_SUCCESS

0

Normal completed

LOGGER_ERR_INVALID_ID

10010

Invalid AppId was specified.

The others (See also: Error Code List)

Initial Value

Nothing in particular.

Remarks

Get the acquired mode.

Example

Get the current acquired mode.

VB.NET

Dim Ret As Integer
Dim Mode As UShort

Ret = LoggerGetAcquiredMode(AppId, Mode)

 

C++

long Ret;
unsigned short Mode;

Ret = LoggerGetAcquiredMode(AppId, &Mode);

 

C#

int Ret;
ushort Mode;

Ret = logger.GetAcquiredMode(AppId, out Mode);

 

See Also

LoggerSetAcquiredMode