This topic has not yet been rated - Rate this topic

ResourceMarkAsShareable (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This function allows resource ranges to be programmatically designated as shareable.

BOOL ResourceMarkAsShareable(
  DWORD dwResId,
  DWORD dwId,
  DWORD dwLen,
  BOOL fShareable
);

Parameters

dwResId
[in] Resource identifier, which is a label for a set of numbers. The following table shows the existing resource identifiers and their values, which are defined in Resmgr.h.
Resource identifierValue
RESMGR_IRQ0x00001
RESMGR_IOSPACE0x00002

Although some resource identifiers are for your use, values below RESMGR_BASE_OEM are reserved. Values greater than RESMGR_MAX_OEM are reserved for future use. The following table shows the resource identifiers that you can use and their values, which are defined in Resmgr.h.

Resource identifierValue
RESMGR_BASE_OEM0x00080000
RESMGR_MAX_OEM0x000FFFFF
dwId
[in] Identifer of the resource to share.
dwLen
[in] Number of resources to share.
fShareable
[in] Set to TRUE to mark the resource as shareable, set to FALSE to mark the resource as non-shareable.

Return Values

Returns TRUE if successful, otherwise returns FALSE.

Remarks

Before Windows CE 5.0, you were able to define shared resource ranges in the registry, such as IRQs and I/O space.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Winbase.h.


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.