Udostępnij za pośrednictwem


IUIResourceMgr::IsMandatoryProgramPending Method

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The IUIResourceMgr::IsMandatoryProgramPending method, in Configuration Manager, determines whether any assigned mandatory programs or user-initiated programs are waiting to run.

[IDL]
HRESULT IsMandatoryProgramPending(
      long* pbPending
);

Parameters

  • pbPending
    Data type: long

    Qualifiers: [out, retval]

    Pointer to a value indicating if any programs are waiting to run. Possible values are:

    0

    No programs are waiting to run.

    1

    Assigned mandatory programs are waiting to run.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

  • S_OK
    The method succeeded.

Remarks

This method can be called only in the context of the user who is currently logged on to the client.

Requirements

UIResource.dll.

Runtime Requirements

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

UIResourceMgr Class
Software Distribution Control Panel Automation