Skip to content

Instantly share code, notes, and snippets.

@funvill
Created February 9, 2018 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save funvill/03e5bb181f03fd03a9c86a19a35c6a42 to your computer and use it in GitHub Desktop.
Save funvill/03e5bb181f03fd03a9c86a19a35c6a42 to your computer and use it in GitHub Desktop.
bool CallbackGetPropertyUInt( UINT object_type, UINT object_instance, UINT property_identifer, UINT device_identifier, UINT * value ) {
const unsigned int PROPERTY_IDENTIFERS_DATABASE_REVISION = 155;
if (object_type == OBJECT_TYPE_DEVICE) {
if (property_identifer == PROPERTY_IDENTIFERS_DATABASE_REVISION) {
// database_revision = 155,
*value = 199;
return true;
}
}
return false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment