HRESULT SaveGraphFile(IGraphBuilder *pGraph, WCHAR *wszPath)
{
const WCHAR wszStreamName[] = L"ActiveMovieGraph";
HRESULT hr;
IStorage *pStorage = NULL;
// First, create a document file that will hold the GRF file
hr = StgCreateDocfile(
wszPath,
STGM_CREATE │ STGM_TRANSACTED │ STGM_READWRITE │
STGM_SHARE_EXCLUSIVE,
0, &pStorage);
....
I copied it somewhere,but the compiler is reporting:
syntax error : missing ')' before identifier '│'
Why is |
regarded an identifier ?