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

18 lines
424 B
C++

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