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. |
4/8/2010
Managing Windows Mobile Devices
Provisioning Concepts
This function retrieves the value of the policy specified. If the policy setting does not exist, zero (0) is returned.
Syntax
HRESULT WINAPI QueryPolicy( DWORD dwPolicyId, PDWORD pdwPolicyValue ); |
Parameters
- dwPolicyId
-
[in] The policy identifier.
- pdwPolicyValue
-
[in] Pointer to the value of the policy. The value pointed to by pdwPolicyValueholds the value of the policy identified by dwPolicyId.
Return Value
Returns a standard HRESULTvalue.
Remarks
This function allows you to query policies without creating and processing an XML document.
Requirements
Header | devmgmt.h |
Library | aygshell.lib |
Windows Mobile | Pocket PC for Windows Mobile Version 5.0 and later, Smart Phone for Windows Mobile Version 5.0 and later |
See Also
Concepts
Configuration Service ProvidersOther Resources
Device Management FunctionsManaging Windows Mobile Devices
Provisioning Concepts