Windows 64-bit sample application

To build and run the sample application for Windows 64–bit systems, you must install the Tivoli Storage Manager API and ensure that you have certain source files.

Important:

For Windows operating systems, the source files that you must have to build the sample application are listed in Table 1. The sample application is included in the API package. For your convenience, a precompiled executable (dapismp.exe) is also included.

Table 1. Files for building the Windows 64-bit API sample application
File names Description
api.txt README file
tsmapi64.dll API DLLs

dsmrc.h

dsmapitd.h

dsmapips.h

dsmapifp.h

dsmapidl.h

release.h

Return codes header file

Common type definitions header file

Operating system-specific type definitions header file

Function prototype header file

Dynamically loaded function prototype header file

Release values header file

dapidata.h
dapint64.h
dapitype.h
dapiutil.h

Source code header files

tsmapi64.lib

Implicit library

dapibkup.c
dapiinit.c
dapint64.c
dapipref.c
dapiproc.c
dapiproc.h
dapipw.c
dapiqry.c
dapirc.c
dapismp64.c
dapiutil.c
dynaload.c

Source code files for dapismp.exe

makesmpx64.mak
(Windows x64)
makesmp64.mak
(Windows IA64)

Makefiles to build sample applications

callmt1.c
callmt2.c
callmtu164.c
callmtu264.c

dpsthread.c

Multithreaded sample files




Sample file source code

dsmgrp.c
callevnt.c
callhold.c
callret.c
callbuff.c

Grouping sample files.
Makefile to build dsmgrp for your operating system.
Event-based retention policy sample source code
Deletion hold sample source code
Data retention protection sample source code