Microsoft Windows CE 3.0  

PDCardWriteAttrByte

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This function writes a byte to the specified offset in a card's attribute memory space.

VOID PDCardWriteAttrByte(
PVOID
pCardMem, 
UINT32
uOffset, 
UINT8
uByte
);

Parameters

pCardMem
Pointer to PC Card attribute memory obtained from the CardMapMemoryfunction.
uOffset
Integer setting the offset into card's attribute memory.
uByte
Specifies the byte to be written.

Remarks

This function is called within a try-exceptstatement in case the card is removed and the memory access results in a fault.

Some modem cards show problems related to reading their configuration information soon after power has been applied to the PCMCIA bus, which can cause a Windows CE-based platform to stop responding until the card is removed. If you are writing a device driver for a PC-Card based modem that is showing this behavior, insert a call to Sleep(1)between the driver's call to PcmciaPowerOnand the first call to PDCardWriteAttrByte.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later      
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

PDCardReadAttrByte, PDCardReadCmnByte, PDCardWriteCmnByte



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.