Home | Overviews | How Do I | Details | Sample
Feature Only in Professional and Enterprise Editions Creating a Custom AppWizard is supported only in Visual C++ Professional and Enterprise Editions. For more information, see Visual C++ Editions.
WriteBlock( LPCTSTR pBlock, DWORD dwSize );
Parameters
pBlock
Points to a block of memory that usually contains a custom resource template.
dwSize
Size of the block of memory. This must be smaller than or equal to the dwSize returned through the CCustomAppWiz::LoadTemplate argument list.
Remarks
Writes a block of memory to an output stream, usually an open file. The base-class implementation of the CopyTemplate function calls WriteBlock to write a binary template to the output stream specified in the argument list of CopyTemplate.
See Also OutputStream Overview, Class Members, CCustomAppWiz::LoadTemplate, CCustomAppWiz::CopyTemplate, OutputStream::WriteLine, CCustomAppWiz::ProcessTemplate