HRESULT SaveGraphFile(IGraphBuilder *pGraph, WCHAR *wszPath)
{
const WCHAR wszStreamName[] = L"ActiveMovieGraph";
HRESULT hr;
IStorage *pStorage = NULL;
hr = StgCreateDocfile(
wszPath,
STGM_CREATE │ STGM_TRANSACTED │ STGM_READWRITE │
STGM_SHARE_EXCLUSIVE,
0, &pStorage);
....
I copied it somewhere, but the compiler reports:
syntax error : missing ')' before identifier '│'
Why |is it considered an identifier?
source
share