NT4/private/ole32/stg/docfile/tests/opentm.cxx
2020-09-30 17:12:29 +02:00

18 lines
373 B
C++

#include <stdio.h>
#include <stdlib.h>
#include "tsupp.hxx"
void main(int argc, char *argv[])
{
IStorage *pstg;
StartTest("opentm");
CmdArgs(argc, argv);
printf("Create root docfile = %lX\n",
StgCreateDocfile(TEXT("TEST.DFL"), ROOTP(STGM_RW) |
STGM_CREATE, 0, &pstg));
printf("Release root = %lX\n",
pstg->Release());
EndTest(0);
}