Previous PageTable Of ContentsHomeIndexNext Page

sr_libinit( )

Description | Cautions | Example | Errors | See Also

Name:

long sr_libinit(flags)

Inputs:

unsigned short flags

  Specifies the programming model

Returns:

0 if success

 

-1 if failure

Includes:

srllib.h

Top Of PageDescription

The sr_libinit( ) function initializes the Standard Runtime Library DLL by loading and resolving all entry points in LIBSRLMT.DLL.

This function has the following parameter:

Parameter

Description

flags

This flag has two possible values:

  DLGC_MT - Specify if using a multi-threaded or window callback model.

  DLGC_ST - Specify if using the single threaded model.

This function need only be used if you are linking with the Cross-Compabibility Library.

Top Of PageCautions

The sr_libinit( ) function must be called prior to using any other technology specific xx_libinit( ) functions.

Top Of PageExample

Top Of PageErrors

The sr_libinit( ) function fails if the library has already been initialized. For example, if you try to make a second call to sr_libinit( ), it fails.

Top Of PageSee Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2001, Dialogic Corporation
All rights reserved
This page generated January, 2001