SAMPLE: How to Store a Signature in a 1-BPP Bitmap (313443)



The information in this article applies to:

  • Microsoft Windows CE Platform SDK for Pocket PC
  • Microsoft Windows CE Platform SDK for Pocket PC 2002

This article was previously published under Q313443

SUMMARY

The Sigcap.exe sample file demonstrates how to use GDI functions to store and load a 1-BPP (Bits-Per-Pixel) bitmap. This is especially useful when you want to store a handwritten signature as a bitmap so that it can be viewed by other programs that have already been implemented to display bitmaps.

The sample code is specific to the Pocket PC or Microsoft Pocket PC 2002 platforms, primarily because of the UI and shell specific functions, however, the code that does the bulk of the work of saving and loading a BMP file can be applied to high-performance computing (HPC) or custom Windows CE platforms that support the GDI functions that are demonstrated.

MORE INFORMATION

The following file is available for download from the Microsoft Download Center:
Release Date: MAY 23, 2002

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file. The Sigcap.exe file contains ten files of varying sizes.

FileSize in KB
Dsdib.cpp14
Dsdib.h2
Main.cpp4
Newres.h1
ReadMe.txt3
Resource.h1
Sigcap.cpp11
Sigcap.h1
Sigcap.rc4
Sigcap.vcp28

Modification Type:MinorLast Reviewed:8/9/2004
Keywords:kbfile kbinfo KB313443 kbAudDeveloper